projects-timfalken-com meteors
unit_tests
Failed Started 1 day ago by timfa
Running on Steve
Log timestamps in UTC.
- 117:51:00
Using docker image node:20-bookworm ... - 217:51:00
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 317:51:00
Running on Steve via BlueGit... - 417:51:00
Working directory: /workspace - 517:51:00
Pipeline #780, job #3056
- 617:51:03
debconf: delaying package configuration, since apt-utils is not installed - 717:51:08
TAP version 13 - 817:51:08
# Subtest: Block registry (t1139) - 917:51:08
# Subtest: loads the append-only registry with Terra first - 1017:51:08
ok 1 - loads the append-only registry with Terra first - 1117:51:08
--- - 1217:51:08
duration_ms: 1.846134 - 1317:51:08
... - 1417:51:08
# Subtest: Terra is free, the next block is 500, then 14.5% more and strictly increasing - 1517:51:08
ok 2 - Terra is free, the next block is 500, then 14.5% more and strictly increasing - 1617:51:08
--- - 1717:51:08
duration_ms: 2.7136 - 1817:51:08
... - 1917:51:08
# Subtest: unlock is a requirement, not a spend - 2017:51:08
ok 3 - unlock is a requirement, not a spend - 2117:51:08
--- - 2217:51:08
duration_ms: 0.266613 - 2317:51:08
... - 2417:51:08
# Subtest: present() marks each block with threshold and unlock state - 2517:51:08
ok 4 - present() marks each block with threshold and unlock state - 2617:51:08
--- - 2717:51:08
duration_ms: 0.962306 - 2817:51:08
... - 2917:51:08
# Subtest: asColor() fills a planet slot from a registry id - 3017:51:08
ok 5 - asColor() fills a planet slot from a registry id - 3117:51:08
--- - 3217:51:08
duration_ms: 0.293002 - 3317:51:08
... - 3417:51:08
# Subtest: every registry image file exists on disk - 3517:51:08
ok 6 - every registry image file exists on disk - 3617:51:08
--- - 3717:51:08
duration_ms: 1.871501 - 3817:51:08
... - 3917:51:08
1..6 - 4017:51:08
ok 1 - Block registry (t1139) - 4117:51:08
--- - 4217:51:08
duration_ms: 9.793348 - 4317:51:08
type: 'suite' - 4417:51:08
... - 4517:51:08
# Subtest: Custom planets in the picker (t1140) - 4617:51:08
# Subtest: allPlanets and pickerPlanets include owned customs, officialPlanets does not - 4717:51:08
ok 1 - allPlanets and pickerPlanets include owned customs, officialPlanets does not - 4817:51:08
--- - 4917:51:08
duration_ms: 3.068059 - 5017:51:08
... - 5117:51:08
# Subtest: rememberPlanet is used for opponents and is not in the picker - 5217:51:08
ok 2 - rememberPlanet is used for opponents and is not in the picker - 5317:51:08
--- - 5417:51:08
duration_ms: 0.506115 - 5517:51:08
... - 5617:51:08
# Subtest: spriteKey for a registry colour uses the preloaded block: id - 5717:51:08
ok 3 - spriteKey for a registry colour uses the preloaded block: id - 5817:51:08
--- - 5917:51:08
duration_ms: 0.415454 - 6017:51:08
... - 6117:51:08
1..3 - 6217:51:08
ok 2 - Custom planets in the picker (t1140) - 6317:51:08
--- - 6417:51:08
duration_ms: 4.51051 - 6517:51:08
type: 'suite' - 6617:51:08
... - 6717:51:08
# Subtest: Designer draft uses the existing Power formula - 6817:51:08
# Subtest: displayPower matches Planet.displayPower on a draft - 6917:51:08
ok 1 - displayPower matches Planet.displayPower on a draft - 7017:51:08
--- - 7117:51:08
duration_ms: 0.424621 - 7217:51:08
... - 7317:51:08
# Subtest: Designer.defaultSlots returns Terra's five - 7417:51:08
ok 2 - Designer.defaultSlots returns Terra's five - 7517:51:08
--- - 7617:51:08
duration_ms: 0.433107 - 7717:51:08
... - 7817:51:08
1..2 - 7917:51:08
ok 3 - Designer draft uses the existing Power formula - 8017:51:08
--- - 8117:51:08
duration_ms: 1.073606 - 8217:51:08
type: 'suite' - 8317:51:08
... - 8417:51:08
# Subtest: Cluster float-down is halved, single-block fall is not (t1124) - 8517:51:08
# Subtest: a newly spawned block falls at the full fallSpeed - 8617:51:08
ok 1 - a newly spawned block falls at the full fallSpeed - 8717:51:08
--- - 8817:51:08
duration_ms: 6.117633 - 8917:51:08
... - 9017:51:08
# Subtest: unsupported and ingested garbage fall at the full fallSpeed - 9117:51:08
ok 2 - unsupported and ingested garbage fall at the full fallSpeed - 9217:51:08
--- - 9317:51:08
duration_ms: 5.433933 - 9417:51:08
... - 9517:51:08
# Subtest: a launched cluster eases into the halved clusterFallSpeed, not fallSpeed - 9617:51:08
ok 3 - a launched cluster eases into the halved clusterFallSpeed, not fallSpeed - 9717:51:08
--- - 9817:51:08
duration_ms: 76.94005 - 9917:51:08
... - 10017:51:08
# Subtest: a manual jump comes down at the full fallSpeed - 10117:51:08
ok 4 - a manual jump comes down at the full fallSpeed - 10217:51:08
--- - 10317:51:08
duration_ms: 11.026394 - 10417:51:08
... - 10517:51:08
# Subtest: cargo riding a descending cluster shares the halved float-down - 10617:51:08
ok 5 - cargo riding a descending cluster shares the halved float-down - 10717:51:08
--- - 10817:51:08
duration_ms: 76.746636 - 10917:51:08
... - 11017:51:08
1..5 - 11117:51:08
ok 4 - Cluster float-down is halved, single-block fall is not (t1124) - 11217:51:08
--- - 11317:51:08
duration_ms: 178.301109 - 11417:51:08
type: 'suite' - 11517:51:08
... - 11617:51:08
# Subtest: Flying cluster merge (t1102) - 11717:51:08
# Subtest: merges two overlapping flying clusters and averages vy by block count - 11817:51:08
ok 1 - merges two overlapping flying clusters and averages vy by block count - 11917:51:08
--- - 12017:51:08
duration_ms: 2.993889 - 12117:51:08
... - 12217:51:08
# Subtest: merged cluster then moves as one with the averaged velocity - 12317:51:08
ok 2 - merged cluster then moves as one with the averaged velocity - 12417:51:08
--- - 12517:51:08
duration_ms: 0.955863 - 12617:51:08
... - 12717:51:08
# Subtest: merged vy <= 0 sets phase to down - 12817:51:08
ok 3 - merged vy <= 0 sets phase to down - 12917:51:08
--- - 13017:51:08
duration_ms: 0.702405 - 13117:51:08
... - 13217:51:08
# Subtest: does not merge clusters that do not overlap - 13317:51:08
ok 4 - does not merge clusters that do not overlap - 13417:51:08
--- - 13517:51:08
duration_ms: 0.284917 - 13617:51:08
... - 13717:51:08
# Subtest: two approaching clusters merge mid-flight during a tick - 13817:51:08
ok 5 - two approaching clusters merge mid-flight during a tick - 13917:51:08
--- - 14017:51:08
duration_ms: 62.13693 - 14117:51:08
... - 14217:51:08
1..5 - 14317:51:08
ok 5 - Flying cluster merge (t1102) - 14417:51:08
--- - 14517:51:08
duration_ms: 68.884531 - 14617:51:08
type: 'suite' - 14717:51:08
... - 14817:51:08
# Subtest: Column fill warning (t1123) - 14917:51:08
# Subtest: pulses at 10 grounded rows (at least 70% of 13) and not at 9 - 15017:51:08
ok 1 - pulses at 10 grounded rows (at least 70% of 13) and not at 9 - 15117:51:08
--- - 15217:51:08
duration_ms: 3.150254 - 15317:51:08
... - 15417:51:08
# Subtest: flying, falling and manual blocks do not count; settling and locked do - 15517:51:08
ok 2 - flying, falling and manual blocks do not count; settling and locked do - 15617:51:08
--- - 15717:51:08
duration_ms: 0.320184 - 15817:51:08
... - 15917:51:08
# Subtest: warnColumnsFromSnapshot agrees with the live field and ignores flying - 16017:51:08
ok 3 - warnColumnsFromSnapshot agrees with the live field and ignores flying - 16117:51:08
--- - 16217:51:08
duration_ms: 0.608648 - 16317:51:08
... - 16417:51:08
# Subtest: columnWarnPulse is a sine in a cheap 0.16–0.44 alpha band - 16517:51:08
ok 4 - columnWarnPulse is a sine in a cheap 0.16–0.44 alpha band - 16617:51:08
--- - 16717:51:08
duration_ms: 0.367033 - 16817:51:08
... - 16917:51:08
1..4 - 17017:51:08
ok 6 - Column fill warning (t1123) - 17117:51:08
--- - 17217:51:08
duration_ms: 6.403622 - 17317:51:08
type: 'suite' - 17417:51:08
... - 17517:51:08
# Subtest: Match combo (t1197) - 17617:51:08
# Subtest: constants - 17717:51:08
ok 1 - constants - 17817:51:08
--- - 17917:51:08
duration_ms: 1.39951 - 18017:51:08
... - 18117:51:08
# Subtest: first match +0%, then +1%, +2%, ... per earlier match in the combo - 18217:51:08
ok 2 - first match +0%, then +1%, +2%, ... per earlier match in the combo - 18317:51:08
--- - 18417:51:08
duration_ms: 3.118384 - 18517:51:08
... - 18617:51:08
# Subtest: adds to the landing-chain bonus (chain 1 + 2 combo matches = +27%) - 18717:51:08
ok 3 - adds to the landing-chain bonus (chain 1 + 2 combo matches = +27%) - 18817:51:08
--- - 18917:51:08
duration_ms: 1.856894 - 19017:51:08
... - 19117:51:08
# Subtest: combo bonus is capped at +30% (0.01 * min(combo, 30)) - 19217:51:08
ok 4 - combo bonus is capped at +30% (0.01 * min(combo, 30)) - 19317:51:08
--- - 19417:51:08
duration_ms: 0.817472 - 19517:51:08
... - 19617:51:08
# Subtest: the cap does not touch the landing chain (chain 1 + capped combo = +55%) - 19717:51:08
ok 5 - the cap does not touch the landing chain (chain 1 + capped combo = +55%) - 19817:51:08
--- - 19917:51:08
duration_ms: 0.405135 - 20017:51:08
... - 20117:51:08
# Subtest: HUD number (t1200) is only the combo part: 0.01 * min(combo, 30), landing chain excluded - 20217:51:08
ok 6 - HUD number (t1200) is only the combo part: 0.01 * min(combo, 30), landing chain excluded - 20317:51:08
--- - 20417:51:08
duration_ms: 81.977496 - 20517:51:08
... - 20617:51:08
# Subtest: resets after 5 s without a match, not before - 20717:51:08
ok 7 - resets after 5 s without a match, not before - 20817:51:08
--- - 20917:51:08
duration_ms: 10.285466 - 21017:51:08
... - 21117:51:08
# Subtest: bots share it: an offline bot core is a GameCore with the same combo - 21217:51:08
ok 8 - bots share it: an offline bot core is a GameCore with the same combo - 21317:51:08
--- - 21417:51:09
duration_ms: 5.328654 - 21517:51:09
... - 21617:51:09
1..8 - 21717:51:09
ok 7 - Match combo (t1197) - 21817:51:09
--- - 21917:51:09
duration_ms: 107.484011 - 22017:51:09
type: 'suite' - 22117:51:09
... - 22217:51:09
# Subtest: Departing rocket columns (t1184) - 22317:51:09
# Subtest: threshold is 75% of the field height - 22417:51:09
ok 1 - threshold is 75% of the field height - 22517:51:09
--- - 22617:51:09
duration_ms: 1.923169 - 22717:51:09
... - 22817:51:09
# Subtest: a rising stack below 75% does not block its columns - 22917:51:09
ok 2 - a rising stack below 75% does not block its columns - 23017:51:09
--- - 23117:51:09
duration_ms: 7.343336 - 23217:51:09
... - 23317:51:09
# Subtest: past 75% and certain to leave: all its columns are skipped by new blocks - 23417:51:09
ok 3 - past 75% and certain to leave: all its columns are skipped by new blocks - 23517:51:09
--- - 23617:51:09
duration_ms: 61.381324 - 23717:51:09
... - 23817:51:09
# Subtest: received garbage aimed at a departing column drops in another column - 23917:51:09
ok 4 - received garbage aimed at a departing column drops in another column - 24017:51:09
--- - 24117:51:09
duration_ms: 2.954966 - 24217:51:09
... - 24317:51:09
# Subtest: a stack whose apex stays below the top is not departing - 24417:51:09
ok 5 - a stack whose apex stays below the top is not departing - 24517:51:09
--- - 24617:51:09
duration_ms: 5.966187 - 24717:51:09
... - 24817:51:09
# Subtest: a stack that is coming back down is not departing - 24917:51:09
ok 6 - a stack that is coming back down is not departing - 25017:51:09
--- - 25117:51:09
duration_ms: 1.036395 - 25217:51:09
... - 25317:51:09
# Subtest: if every open column is departing, garbage waits and arrives later (never lost) - 25417:51:09
ok 7 - if every open column is departing, garbage waits and arrives later (never lost) - 25517:51:09
--- - 25617:51:09
duration_ms: 6.478414 - 25717:51:09
... - 25817:51:09
# Subtest: the stack really leaves and the columns open up again - 25917:51:09
ok 8 - the stack really leaves and the columns open up again - 26017:51:09
--- - 26117:51:09
duration_ms: 2.654118 - 26217:51:09
... - 26317:51:09
1..8 - 26417:51:09
ok 8 - Departing rocket columns (t1184) - 26517:51:09
--- - 26617:51:09
duration_ms: 97.973988 - 26717:51:09
type: 'suite' - 26817:51:09
... - 26917:51:09
# Subtest: deploy_guard - 27017:51:09
# Subtest: expands $timftproot and ${timftproot} and collapses double slashes - 27117:51:09
ok 1 - expands $timftproot and ${timftproot} and collapses double slashes - 27217:51:09
--- - 27317:51:09
duration_ms: 264.049239 - 27417:51:09
... - 27517:51:09
# Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf - 27617:51:09
ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf - 27717:51:09
--- - 27817:51:09
duration_ms: 135.34542 - 27917:51:09
... - 28017:51:09
# Subtest: the CLI exits 0 for a good path and does not print the path - 28117:51:09
ok 3 - the CLI exits 0 for a good path and does not print the path - 28217:51:09
--- - 28317:51:09
duration_ms: 164.426881 - 28417:51:09
... - 28517:51:09
1..3 - 28617:51:09
ok 9 - deploy_guard - 28717:51:09
--- - 28817:51:09
duration_ms: 565.74592 - 28917:51:09
type: 'suite' - 29017:51:09
... - 29117:51:09
# Subtest: assert_safe_target - 29217:51:09
# Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names - 29317:51:09
ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names - 29417:51:09
--- - 29517:51:09
duration_ms: 108.517681 - 29617:51:09
... - 29717:51:09
# Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 29817:51:09
ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 29917:51:09
--- - 30017:51:09
duration_ms: 103.119596 - 30117:51:09
... - 30217:51:09
1..2 - 30317:51:09
ok 10 - assert_safe_target - 30417:51:09
--- - 30517:51:09
duration_ms: 211.933056 - 30617:51:09
type: 'suite' - 30717:51:09
... - 30817:51:09
# Subtest: auth_config_php - 30917:51:09
# Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 31017:51:09
ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 31117:51:09
--- - 31217:51:09
duration_ms: 210.905316 - 31317:51:09
... - 31417:51:09
1..1 - 31517:51:09
ok 11 - auth_config_php - 31617:51:09
--- - 31717:51:09
duration_ms: 211.245809 - 31817:51:09
type: 'suite' - 31917:51:09
... - 32017:51:09
# Subtest: Blocks under a flying cluster are draggable (t1107) - 32117:51:09
# Subtest: a still stack under a flyer in the same column can be grabbed and swapped - 32217:51:09
ok 1 - a still stack under a flyer in the same column can be grabbed and swapped - 32317:51:09
--- - 32417:51:09
duration_ms: 3.146537 - 32517:51:09
... - 32617:51:09
# Subtest: pressing on a flying cluster does not grab it or a block below - 32717:51:09
ok 2 - pressing on a flying cluster does not grab it or a block below - 32817:51:09
--- - 32917:51:09
duration_ms: 2.809331 - 33017:51:09
... - 33117:51:09
1..2 - 33217:51:09
ok 12 - Blocks under a flying cluster are draggable (t1107) - 33317:51:09
--- - 33417:51:09
duration_ms: 61.473859 - 33517:51:09
type: 'suite' - 33617:51:09
... - 33717:51:09
# Subtest: Dragging within, into and out of a landed cluster (t1107) - 33817:51:09
# Subtest: dragging within a landed cluster swaps members and keeps them in the group - 33917:51:09
ok 1 - dragging within a landed cluster swaps members and keeps them in the group - 34017:51:09
--- - 34117:51:09
duration_ms: 0.797996 - 34217:51:09
... - 34317:51:09
# Subtest: swapping a still block into a landed cluster makes it a member - 34417:51:09
ok 2 - swapping a still block into a landed cluster makes it a member - 34517:51:09
--- - 34617:51:09
duration_ms: 3.215457 - 34717:51:09
... - 34817:51:09
# Subtest: swapping a landed member out leaves the cluster; a grey keeps its settle timer - 34917:51:09
ok 3 - swapping a landed member out leaves the cluster; a grey keeps its settle timer - 35017:51:09
--- - 35117:51:09
duration_ms: 0.605703 - 35217:51:09
... - 35317:51:09
# Subtest: a gap in the column stops the swap; hanging members are part of the stack - 35417:51:09
ok 4 - a gap in the column stops the swap; hanging members are part of the stack - 35517:51:09
--- - 35617:51:09
duration_ms: 0.421986 - 35717:51:09
... - 35817:51:09
1..4 - 35917:51:09
ok 13 - Dragging within, into and out of a landed cluster (t1107) - 36017:51:09
--- - 36117:51:09
duration_ms: 5.505187 - 36217:51:09
type: 'suite' - 36317:51:09
... - 36417:51:09
# Subtest: Click-tween defaults (KWin Click Tween) - 36517:51:09
# Subtest: matches Tim's default scale, durations and Qt easing parameters - 36617:51:09
ok 1 - matches Tim's default scale, durations and Qt easing parameters - 36717:51:09
--- - 36817:51:09
duration_ms: 1.219471 - 36917:51:09
... - 37017:51:09
# Subtest: easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way - 37117:51:09
ok 2 - easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way - 37217:51:09
--- - 37317:51:09
duration_ms: 0.326256 - 37417:51:09
... - 37517:51:09
# Subtest: easeOutElastic ends at 1 and oscillates around the end value - 37617:51:09
ok 3 - easeOutElastic ends at 1 and oscillates around the end value - 37717:51:09
--- - 37817:51:09
duration_ms: 0.292662 - 37917:51:09
... - 38017:51:09
# Subtest: tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles - 38117:51:09
ok 4 - tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles - 38217:51:09
--- - 38317:51:09
duration_ms: 0.404684 - 38417:51:09
... - 38517:51:09
1..4 - 38617:51:09
ok 14 - Click-tween defaults (KWin Click Tween) - 38717:51:09
--- - 38817:51:09
duration_ms: 4.008023 - 38917:51:09
type: 'suite' - 39017:51:09
... - 39117:51:09
# Subtest: Planet apex-ease and bounce parameters - 39217:51:09
# Subtest: derives faster ease and bounce from lower fallTime (low air resistance) - 39317:51:09
ok 1 - derives faster ease and bounce from lower fallTime (low air resistance) - 39417:51:09
--- - 39517:51:09
duration_ms: 2.605647 - 39617:51:09
... - 39717:51:09
1..1 - 39817:51:09
ok 15 - Planet apex-ease and bounce parameters - 39917:51:09
--- - 40017:51:09
duration_ms: 2.801125 - 40117:51:09
type: 'suite' - 40217:51:09
... - 40317:51:09
# Subtest: Swap tween (t1121) - 40417:51:09
# Subtest: easeOutCubic is 0 at 0, 1 at 1, and 0.875 at 0.5 - 40517:51:09
ok 1 - easeOutCubic is 0 at 0, 1 at 1, and 0.875 at 0.5 - 40617:51:09
--- - 40717:51:09
duration_ms: 0.279427 - 40817:51:09
... - 40917:51:09
# Subtest: SWAP_TWEEN lasts 80–120 ms and uses easeOutCubic - 41017:51:09
ok 2 - SWAP_TWEEN lasts 80–120 ms and uses easeOutCubic - 41117:51:09
--- - 41217:51:09
duration_ms: 53.655678 - 41317:51:09
... - 41417:51:09
1..2 - 41517:51:09
ok 16 - Swap tween (t1121) - 41617:51:09
--- - 41717:51:09
duration_ms: 54.517243 - 41817:51:09
type: 'suite' - 41917:51:09
... - 42017:51:09
# Subtest: Falling blocks land on flying clusters - 42117:51:09
# Subtest: a falling spawn lands on a flying cluster and flies along as cargo - 42217:51:09
ok 1 - a falling spawn lands on a flying cluster and flies along as cargo - 42317:51:09
--- - 42417:51:09
duration_ms: 18.480048 - 42517:51:09
... - 42617:51:09
# Subtest: a falling block does not pass through a descending or rising cluster - 42717:51:09
ok 2 - a falling block does not pass through a descending or rising cluster - 42817:51:09
--- - 42917:51:09
duration_ms: 64.119662 - 43017:51:09
... - 43117:51:09
# Subtest: a rising cluster that meets a falling block picks it up - 43217:51:09
ok 3 - a rising cluster that meets a falling block picks it up - 43317:51:09
--- - 43417:51:09
duration_ms: 8.717198 - 43517:51:09
... - 43617:51:09
1..3 - 43717:51:09
ok 17 - Falling blocks land on flying clusters - 43817:51:09
--- - 43917:51:09
duration_ms: 93.232381 - 44017:51:09
type: 'suite' - 44117:51:09
... - 44217:51:09
# Subtest: Rigid grey landing - 44317:51:09
# Subtest: keeps relative positions, so part of the group can hang above a gap - 44417:51:09
ok 1 - keeps relative positions, so part of the group can hang above a gap - 44517:51:09
--- - 44617:51:09
duration_ms: 26.964497 - 44717:51:09
... - 44817:51:09
# Subtest: after conversion, hanging blocks fall individually and supported ones stay - 44917:51:09
ok 2 - after conversion, hanging blocks fall individually and supported ones stay - 45017:51:09
--- - 45117:51:09
duration_ms: 106.978998 - 45217:51:09
... - 45317:51:09
1..2 - 45417:51:09
ok 18 - Rigid grey landing - 45517:51:09
--- - 45617:51:09
duration_ms: 134.247378 - 45717:51:09
type: 'suite' - 45817:51:09
... - 45917:51:09
# Subtest: Landing bounce planet parameter - 46017:51:09
# Subtest: sets bouncing on a landed block, faster at low air resistance - 46117:51:09
ok 1 - sets bouncing on a landed block, faster at low air resistance - 46217:51:09
--- - 46317:51:09
duration_ms: 53.521855 - 46417:51:09
... - 46517:51:09
# Subtest: a rigid cluster bounce only on members that actually rest on something - 46617:51:09
ok 2 - a rigid cluster bounce only on members that actually rest on something - 46717:51:09
--- - 46817:51:09
duration_ms: 17.346659 - 46917:51:09
... - 47017:51:09
1..2 - 47117:51:09
ok 19 - Landing bounce planet parameter - 47217:51:09
--- - 47317:51:09
duration_ms: 71.251988 - 47417:51:09
type: 'suite' - 47517:51:09
... - 47617:51:09
# Subtest: Recolor must not shoot blocks off the top (t1102) - 47717:51:09
# Subtest: clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off - 47817:51:09
ok 1 - clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off - 47917:51:09
--- - 48017:51:09
duration_ms: 105.870647 - 48117:51:09
... - 48217:51:09
# Subtest: a genuine match after recolor launches with normal jump physics, not leftover speed - 48317:51:09
ok 2 - a genuine match after recolor launches with normal jump physics, not leftover speed - 48417:51:09
--- - 48517:51:09
duration_ms: 296.715714 - 48617:51:09
... - 48717:51:09
1..2 - 48817:51:09
ok 20 - Recolor must not shoot blocks off the top (t1102) - 48917:51:09
--- - 49017:51:09
duration_ms: 402.952211 - 49117:51:09
type: 'suite' - 49217:51:09
... - 49317:51:09
# Subtest: FlameFx (t1183) - 49417:51:09
# Subtest: runs at double the old frame rate (0.08 s → 0.04 s per frame) - 49517:51:09
ok 1 - runs at double the old frame rate (0.08 s → 0.04 s per frame) - 49617:51:09
--- - 49717:51:09
duration_ms: 1.371117 - 49817:51:09
... - 49917:51:09
# Subtest: picks a random frame that differs from the current one, covering all frames - 50017:51:09
ok 2 - picks a random frame that differs from the current one, covering all frames - 50117:51:09
--- - 50217:51:09
duration_ms: 0.447124 - 50317:51:09
... - 50417:51:09
# Subtest: flips about half the time and keeps scale/size/rotation within bounds, independently - 50517:51:09
ok 3 - flips about half the time and keeps scale/size/rotation within bounds, independently - 50617:51:09
--- - 50717:51:09
duration_ms: 78.166906 - 50817:51:09
... - 50917:51:09
# Subtest: the top-centre anchor never moves, whatever the flip, scale or rotation - 51017:51:09
ok 4 - the top-centre anchor never moves, whatever the flip, scale or rotation - 51117:51:09
--- - 51217:51:09
duration_ms: 3.783548 - 51317:51:09
... - 51417:51:09
# Subtest: reduced motion: random frame only, no flip/scale/rotation - 51517:51:09
ok 5 - reduced motion: random frame only, no flip/scale/rotation - 51617:51:09
--- - 51717:51:10
duration_ms: 0.290458 - 51817:51:10
... - 51917:51:10
# Subtest: a long stall rolls once and keeps the remainder - 52017:51:10
ok 6 - a long stall rolls once and keeps the remainder - 52117:51:10
--- - 52217:51:10
duration_ms: 0.240304 - 52317:51:10
... - 52417:51:10
1..6 - 52517:51:10
ok 21 - FlameFx (t1183) - 52617:51:10
--- - 52717:51:10
duration_ms: 86.010194 - 52817:51:10
type: 'suite' - 52917:51:10
... - 53017:51:10
# Subtest: FlameFx create (t1183) - 53117:51:10
# Subtest: a flame created under reduced motion starts unjittered - 53217:51:10
ok 1 - a flame created under reduced motion starts unjittered - 53317:51:10
--- - 53417:51:10
duration_ms: 0.247577 - 53517:51:10
... - 53617:51:10
1..1 - 53717:51:10
ok 22 - FlameFx create (t1183) - 53817:51:10
--- - 53917:51:10
duration_ms: 0.60402 - 54017:51:10
type: 'suite' - 54117:51:10
... - 54217:51:10
# Subtest: Local flights (t1181) - 54317:51:10
# Subtest: the sender sees its flight at once, before any server answer - 54417:51:10
ok 1 - the sender sees its flight at once, before any server answer - 54517:51:10
--- - 54617:51:10
duration_ms: 8.336309 - 54717:51:10
... - 54817:51:10
# Subtest: the poll result retargets the same flight without a jump, and only once - 54917:51:10
ok 2 - the poll result retargets the same flight without a jump, and only once - 55017:51:10
--- - 55117:51:10
duration_ms: 2.520246 - 55217:51:10
... - 55317:51:10
# Subtest: the retarget keeps the total close to one flight duration - 55417:51:10
ok 3 - the retarget keeps the total close to one flight duration - 55517:51:10
--- - 55617:51:10
duration_ms: 0.404513 - 55717:51:10
... - 55817:51:10
# Subtest: a preview waits at its apex for a slow server instead of vanishing - 55917:51:10
ok 4 - a preview waits at its apex for a slow server instead of vanishing - 56017:51:10
--- - 56117:51:10
duration_ms: 60.148919 - 56217:51:10
... - 56317:51:10
# Subtest: a receiver plays a late-seen flight from the start, a bit faster (no mid-arc pop-in) - 56417:51:10
ok 5 - a receiver plays a late-seen flight from the start, a bit faster (no mid-arc pop-in) - 56517:51:10
--- - 56617:51:10
duration_ms: 0.867527 - 56717:51:10
... - 56817:51:10
# Subtest: interpolation depends only on time, not on how often tickFlights runs - 56917:51:10
ok 6 - interpolation depends only on time, not on how often tickFlights runs - 57017:51:10
--- - 57117:51:10
duration_ms: 2.803299 - 57217:51:10
... - 57317:51:10
# Subtest: flushDecision sends new shots right away unless a poll is in flight or just happened - 57417:51:10
ok 7 - flushDecision sends new shots right away unless a poll is in flight or just happened - 57517:51:10
--- - 57617:51:10
duration_ms: 0.473744 - 57717:51:10
... - 57817:51:10
# Subtest: the authoritative payload is unchanged: shots are queued exactly as before - 57917:51:10
ok 8 - the authoritative payload is unchanged: shots are queued exactly as before - 58017:51:10
--- - 58117:51:10
duration_ms: 0.581797 - 58217:51:10
... - 58317:51:10
1..8 - 58417:51:10
ok 23 - Local flights (t1181) - 58517:51:10
--- - 58617:51:10
duration_ms: 78.232629 - 58717:51:10
type: 'suite' - 58817:51:10
... - 58917:51:10
# Subtest: Garbage landing column (t1126) - 59017:51:10
# Subtest: pickGarbageColumn keeps a preferred open column - 59117:51:10
ok 1 - pickGarbageColumn keeps a preferred open column - 59217:51:10
--- - 59317:51:10
duration_ms: 2.37436 - 59417:51:10
... - 59517:51:10
# Subtest: pickGarbageColumn skips a full preferred column and still returns an open one - 59617:51:10
ok 2 - pickGarbageColumn skips a full preferred column and still returns an open one - 59717:51:10
--- - 59817:51:10
duration_ms: 0.770174 - 59917:51:10
... - 60017:51:10
# Subtest: offline dispatch picks land_col and ingest uses the same column - 60117:51:10
ok 3 - offline dispatch picks land_col and ingest uses the same column - 60217:51:10
--- - 60317:51:10
duration_ms: 8.058164 - 60417:51:10
... - 60517:51:10
1..3 - 60617:51:10
ok 24 - Garbage landing column (t1126) - 60717:51:10
--- - 60817:51:10
duration_ms: 14.376616 - 60917:51:10
type: 'suite' - 61017:51:10
... - 61117:51:10
# Subtest: Around-field flight path (t1128) - 61217:51:10
# Subtest: routes a left-mini shot around the field into a given column - 61317:51:10
ok 1 - routes a left-mini shot around the field into a given column - 61417:51:10
--- - 61517:51:10
duration_ms: 14.816907 - 61617:51:10
... - 61717:51:10
# Subtest: routes a player shot around the field to a right-hand mini - 61817:51:10
ok 2 - routes a player shot around the field to a right-hand mini - 61917:51:10
--- - 62017:51:10
duration_ms: 1.788445 - 62117:51:10
... - 62217:51:10
# Subtest: a path already above the field stays as a simple arc above it - 62317:51:10
ok 3 - a path already above the field stays as a simple arc above it - 62417:51:10
--- - 62517:51:10
duration_ms: 54.546468 - 62617:51:10
... - 62717:51:10
1..3 - 62817:51:10
ok 25 - Around-field flight path (t1128) - 62917:51:10
--- - 63017:51:10
duration_ms: 71.522699 - 63117:51:10
type: 'suite' - 63217:51:10
... - 63317:51:10
# Subtest: Wide-layout top padding (t1129) - 63417:51:10
# Subtest: leaves room above the field on a wide screen, not on narrow or mobile - 63517:51:10
ok 1 - leaves room above the field on a wide screen, not on narrow or mobile - 63617:51:10
--- - 63717:51:10
duration_ms: 1.305414 - 63817:51:10
... - 63917:51:10
1..1 - 64017:51:10
ok 26 - Wide-layout top padding (t1129) - 64117:51:10
--- - 64217:51:10
duration_ms: 1.597845 - 64317:51:10
type: 'suite' - 64417:51:10
... - 64517:51:10
# Subtest: takeLandCol consistency (t1126) - 64617:51:10
# Subtest: prefers the server land_col and falls back to a remembered id - 64717:51:10
ok 1 - prefers the server land_col and falls back to a remembered id - 64817:51:10
--- - 64917:51:10
duration_ms: 0.329952 - 65017:51:10
... - 65117:51:10
1..1 - 65217:51:10
ok 27 - takeLandCol consistency (t1126) - 65317:51:10
--- - 65417:51:10
duration_ms: 0.594051 - 65517:51:10
type: 'suite' - 65617:51:10
... - 65717:51:10
# Subtest: Smooth C1 arcs (t1134) - 65817:51:10
# Subtest: is one continuous polynomial: C^∞, gradual curvature, no straight stretches (t1138) - 65917:51:10
ok 1 - is one continuous polynomial: C^∞, gradual curvature, no straight stretches (t1138) - 66017:51:10
--- - 66117:51:10
duration_ms: 11.287878 - 66217:51:10
... - 66317:51:10
# Subtest: leaves a mid-field cell going up and stays in launch/land corridors - 66417:51:10
ok 2 - leaves a mid-field cell going up and stays in launch/land corridors - 66517:51:10
--- - 66617:51:10
duration_ms: 2.726415 - 66717:51:10
... - 66817:51:10
# Subtest: dives into the landing column at the spawn pose with downward fallSpeed (t1135) - 66917:51:10
ok 3 - dives into the landing column at the spawn pose with downward fallSpeed (t1135) - 67017:51:10
--- - 67117:51:10
duration_ms: 0.501026 - 67217:51:10
... - 67317:51:10
# Subtest: smoothParam has non-zero endpoint derivatives (no visual stop) - 67417:51:10
ok 4 - smoothParam has non-zero endpoint derivatives (no visual stop) - 67517:51:10
--- - 67617:51:10
duration_ms: 0.27569 - 67717:51:10
... - 67817:51:10
# Subtest: cellViewport matches placeTile centres (y=0 at the bottom) - 67917:51:10
ok 5 - cellViewport matches placeTile centres (y=0 at the bottom) - 68017:51:10
--- - 68117:51:10
duration_ms: 0.244311 - 68217:51:10
... - 68317:51:10
1..5 - 68417:51:10
ok 28 - Smooth C1 arcs (t1134) - 68517:51:10
--- - 68617:51:10
duration_ms: 15.394626 - 68717:51:10
type: 'suite' - 68817:51:10
... - 68917:51:10
# Subtest: Exit-only flight start (t1137) - 69017:51:10
# Subtest: hasLeftTheField is true only at y ≥ 13 - 69117:51:10
ok 1 - hasLeftTheField is true only at y ≥ 13 - 69217:51:10
--- - 69317:51:10
duration_ms: 1.408417 - 69417:51:10
... - 69517:51:10
# Subtest: a rocket that peaks below the exit produces no shot and no flight - 69617:51:10
ok 2 - a rocket that peaks below the exit produces no shot and no flight - 69717:51:10
--- - 69817:51:10
duration_ms: 15.288797 - 69917:51:10
... - 70017:51:10
# Subtest: a rocket that crosses y=13 produces exactly one shot at the exit pose - 70117:51:10
ok 3 - a rocket that crosses y=13 produces exactly one shot at the exit pose - 70217:51:10
--- - 70317:51:10
duration_ms: 0.623006 - 70417:51:10
... - 70517:51:10
# Subtest: previewExit ignores a rocket that has not left, even with an upward vy - 70617:51:10
ok 4 - previewExit ignores a rocket that has not left, even with an upward vy - 70717:51:10
--- - 70817:51:10
duration_ms: 0.194527 - 70917:51:10
... - 71017:51:10
1..4 - 71117:51:10
ok 29 - Exit-only flight start (t1137) - 71217:51:10
--- - 71317:51:10
duration_ms: 17.8554 - 71417:51:10
type: 'suite' - 71517:51:10
... - 71617:51:10
# Subtest: Received garbage queue (t1192) - 71717:51:10
# Subtest: exact scenario: 5 blocks at once, 2 open columns, all aimed at one → all 5 land - 71817:51:10
ok 1 - exact scenario: 5 blocks at once, 2 open columns, all aimed at one → all 5 land - 71917:51:10
--- - 72017:51:10
duration_ms: 813.553033 - 72117:51:10
... - 72217:51:10
# Subtest: random aims with 2 open columns: still all 5 land - 72317:51:10
ok 2 - random aims with 2 open columns: still all 5 land - 72417:51:10
--- - 72517:51:10
duration_ms: 93.179461 - 72617:51:10
... - 72717:51:10
# Subtest: blocks in one column never overlap and drop only after a full cell of clearance - 72817:51:10
ok 3 - blocks in one column never overlap and drop only after a full cell of clearance - 72917:51:10
--- - 73017:51:10
duration_ms: 25.024737 - 73117:51:10
... - 73217:51:10
# Subtest: no open column: garbage waits (not dropped, not lost) and lands when room appears - 73317:51:10
ok 4 - no open column: garbage waits (not dropped, not lost) and lands when room appears - 73417:51:10
--- - 73517:51:10
duration_ms: 107.91274 - 73617:51:10
... - 73717:51:10
# Subtest: a full column (counting blocks still falling) is skipped for another open one - 73817:51:10
ok 5 - a full column (counting blocks still falling) is skipped for another open one - 73917:51:10
--- - 74017:51:10
duration_ms: 84.614751 - 74117:51:10
... - 74217:51:10
# Subtest: open wanted column wins; a free field takes all at once in distinct columns - 74317:51:10
ok 6 - open wanted column wins; a free field takes all at once in distinct columns - 74417:51:10
--- - 74517:51:10
duration_ms: 0.317419 - 74617:51:10
... - 74717:51:10
# Subtest: garbage is not accepted after game over (as before) - 74817:51:10
ok 7 - garbage is not accepted after game over (as before) - 74917:51:10
--- - 75017:51:10
duration_ms: 0.14845 - 75117:51:10
... - 75217:51:10
1..7 - 75317:51:10
ok 30 - Received garbage queue (t1192) - 75417:51:10
--- - 75517:51:10
duration_ms: 1179.263405 - 75617:51:10
type: 'suite' - 75717:51:10
... - 75817:51:10
# Subtest: Received garbage queue — offline bots (t1192) - 75917:51:10
# Subtest: 5 shots at once to a bot with 2 open columns: all 5 land on the bot - 76017:51:10
ok 1 - 5 shots at once to a bot with 2 open columns: all 5 land on the bot - 76117:51:10
--- - 76217:51:10
duration_ms: 22.369637 - 76317:51:10
... - 76417:51:10
1..1 - 76517:51:10
ok 31 - Received garbage queue — offline bots (t1192) - 76617:51:10
--- - 76717:51:10
duration_ms: 22.663091 - 76817:51:10
type: 'suite' - 76917:51:10
... - 77017:51:10
# Subtest: i18n catalog (t1141) - 77117:51:10
# Subtest: lists every supported locale - 77217:51:10
ok 1 - lists every supported locale - 77317:51:10
--- - 77417:51:10
duration_ms: 58.564259 - 77517:51:10
... - 77617:51:10
# Subtest: has the same non-empty keys in every language - 77717:51:10
ok 2 - has the same non-empty keys in every language - 77817:51:10
--- - 77917:51:10
duration_ms: 6.441404 - 78017:51:10
... - 78117:51:10
# Subtest: keeps English placeholders in every translation - 78217:51:10
ok 3 - keeps English placeholders in every translation - 78317:51:10
--- - 78417:51:10
duration_ms: 9.399896 - 78517:51:10
... - 78617:51:10
# Subtest: translates every official planet and registry block - 78717:51:10
ok 4 - translates every official planet and registry block - 78817:51:10
--- - 78917:51:10
duration_ms: 3.811963 - 79017:51:10
... - 79117:51:10
# Subtest: does not rewrite a custom planet’s own name - 79217:51:10
ok 5 - does not rewrite a custom planet’s own name - 79317:51:10
--- - 79417:51:10
duration_ms: 0.266734 - 79517:51:10
... - 79617:51:10
# Subtest: interpolates and pluralises - 79717:51:10
ok 6 - interpolates and pluralises - 79817:51:10
--- - 79917:51:10
duration_ms: 0.624659 - 80017:51:10
... - 80117:51:10
# Subtest: maps known server error messages - 80217:51:10
ok 7 - maps known server error messages - 80317:51:10
--- - 80417:51:10
duration_ms: 1.385214 - 80517:51:10
... - 80617:51:10
# Subtest: defaults to English and rejects unknown locales - 80717:51:10
ok 8 - defaults to English and rejects unknown locales - 80817:51:10
--- - 80917:51:10
duration_ms: 0.287433 - 81017:51:10
... - 81117:51:10
# Subtest: ships a local SVG flag for every language (no emoji) - 81217:51:10
ok 9 - ships a local SVG flag for every language (no emoji) - 81317:51:10
--- - 81417:51:10
duration_ms: 0.994947 - 81517:51:10
... - 81617:51:10
1..9 - 81717:51:10
ok 32 - i18n catalog (t1141) - 81817:51:10
--- - 81917:51:10
duration_ms: 85.02771 - 82017:51:10
type: 'suite' - 82117:51:10
... - 82217:51:10
# Subtest: Landed clusters form mixed matches with resting blocks (t1110) - 82317:51:10
# Subtest: coloured cargo that lands next to two resting blocks of the same colour launches immediately - 82417:51:10
ok 1 - coloured cargo that lands next to two resting blocks of the same colour launches immediately - 82517:51:10
--- - 82617:51:10
duration_ms: 3.308121 - 82717:51:10
... - 82817:51:10
# Subtest: a vertical mixed line of resting blocks and landed cargo also launches - 82917:51:10
ok 2 - a vertical mixed line of resting blocks and landed cargo also launches - 83017:51:10
--- - 83117:51:10
duration_ms: 0.569324 - 83217:51:10
... - 83317:51:10
# Subtest: grey cluster blocks have no colour and do not match until they recolor - 83417:51:10
ok 3 - grey cluster blocks have no colour and do not match until they recolor - 83517:51:10
--- - 83617:51:10
duration_ms: 0.400004 - 83717:51:10
... - 83817:51:10
# Subtest: after greys recolor on landing, a mixed line with resting blocks launches - 83917:51:10
ok 4 - after greys recolor on landing, a mixed line with resting blocks launches - 84017:51:10
--- - 84117:51:10
duration_ms: 90.668784 - 84217:51:10
... - 84317:51:10
# Subtest: a descending cluster that lands onto a mixed row launches through the tick - 84417:51:10
ok 5 - a descending cluster that lands onto a mixed row launches through the tick - 84517:51:10
--- - 84617:51:10
duration_ms: 25.406287 - 84717:51:10
... - 84817:51:10
1..5 - 84917:51:10
ok 33 - Landed clusters form mixed matches with resting blocks (t1110) - 85017:51:10
--- - 85117:51:10
duration_ms: 122.083337 - 85217:51:10
type: 'suite' - 85317:51:10
... - 85417:51:10
# Subtest: Landing-chain jump bonus (t1120) - 85517:51:10
# Subtest: a landing that immediately makes a match launches 25% stronger (chain 1) - 85617:51:10
ok 1 - a landing that immediately makes a match launches 25% stronger (chain 1) - 85717:51:10
--- - 85817:51:10
duration_ms: 4.763428 - 85917:51:10
... - 86017:51:10
# Subtest: a second consecutive landing-match stacks additively to +50% (chain 2) - 86117:51:10
ok 2 - a second consecutive landing-match stacks additively to +50% (chain 2) - 86217:51:10
--- - 86317:51:10
duration_ms: 0.57243 - 86417:51:10
... - 86517:51:10
# Subtest: a third step is +75% (x1.75), additive not multiplicative - 86617:51:10
ok 3 - a third step is +75% (x1.75), additive not multiplicative - 86717:51:10
--- - 86817:51:10
duration_ms: 1.127307 - 86917:51:10
... - 87017:51:10
# Subtest: landing without a match resets the chain, so the next launch is un-bonused - 87117:51:10
ok 4 - landing without a match resets the chain, so the next launch is un-bonused - 87217:51:10
--- - 87317:51:10
duration_ms: 5.729861 - 87417:51:10
... - 87517:51:10
# Subtest: applies to stacked landings (not only the floor) - 87617:51:10
ok 5 - applies to stacked landings (not only the floor) - 87717:51:10
--- - 87817:51:10
duration_ms: 0.695001 - 87917:51:10
... - 88017:51:10
# Subtest: a regular (non-landing) match is unchanged - 88117:51:10
ok 6 - a regular (non-landing) match is unchanged - 88217:51:10
--- - 88317:51:10
duration_ms: 0.422928 - 88417:51:10
... - 88517:51:10
# Subtest: LANDING_CHAIN_BONUS is 0.25 additive per step - 88617:51:10
ok 7 - LANDING_CHAIN_BONUS is 0.25 additive per step - 88717:51:10
--- - 88817:51:10
duration_ms: 0.207111 - 88917:51:10
... - 89017:51:10
1..7 - 89117:51:10
ok 34 - Landing-chain jump bonus (t1120) - 89217:51:10
--- - 89317:51:10
duration_ms: 15.824968 - 89417:51:10
type: 'suite' - 89517:51:10
... - 89617:51:10
# Subtest: Leaderboard wiring (t1247) - 89717:51:10
# Subtest: places the Leaderboard button under Play online - 89817:51:10
ok 1 - places the Leaderboard button under Play online - 89917:51:10
--- - 90017:51:10
duration_ms: 1.403017 - 90117:51:10
... - 90217:51:10
# Subtest: has a two-tab leaderboard screen with login prompt for guests - 90317:51:10
ok 2 - has a two-tab leaderboard screen with login prompt for guests - 90417:51:10
--- - 90517:51:10
duration_ms: 0.401958 - 90617:51:10
... - 90717:51:10
# Subtest: loads the public API and highlights the current player - 90817:51:10
not ok 3 - loads the public API and highlights the current player - 90917:51:10
--- - 91017:51:10
duration_ms: 4.916296 - 91117:51:10
location: '/workspace/test/leaderboard.test.js:42:2' - 91217:51:10
failureType: 'testCodeFailure' - 91317:51:10
error: |- - 91417:51:10
The input did not match the regular expression /authRequest\('\/api\/friends'/. Input: - 91517:51:10
- 91617:51:10
'<?php\n' + - 91717:51:10
'declare(strict_types=1);\n' + - 91817:51:10
"require __DIR__ . '/lib/bootstrap.php';\n" + - 91917:51:10
"require __DIR__ . '/lib/Store.php';\n" + - 92017:51:10
'\n' + - 92117:51:10
"$action = $_GET['action'] ?? $_POST['action'] ?? '';\n" + - 92217:51:10
"if ($action === '') {\n" + - 92317:51:10
' $body = readJsonBody();\n' + - 92417:51:10
" $action = (string) ($body['action'] ?? '');\n" + - 92517:51:10
'} else {\n' + - 92617:51:10
' $body = readJsonBody();\n' + - 92717:51:10
'}\n' + - 92817:51:10
'\n' + - 92917:51:10
'try {\n' + - 93017:51:10
' $configured = authConfigured();\n' + - 93117:51:10
' $local = localDev();\n' + - 93217:51:10
' $user = currentUser();\n' + - 93317:51:10
'\n' + - 93417:51:10
" if ($action === 'me' || $action === '') {\n" + - 93517:51:10
" $view = ['lobby' => null, 'incoming' => [], 'shot_results' => [], 'shot_flights' => []];\n" + - 93617:51:10
' $profile = [\n' + - 93717:51:10
" 'lifetime_points' => 0,\n" + - 93817:51:10
" 'locale' => null,\n" + - 93917:51:10
" 'last_planet' => null,\n" + - 94017:51:10
" 'blocks' => [],\n" + - 94117:51:10
" 'planets' => [],\n" + - 94217:51:10
' ];\n' + - 94317:51:10
' if ($user) {\n' + - 94417:51:10
' $store = Store::open();\n' + - 94517:51:10
" $store->touchProfile($user['id'], $user['name'], $user['avatar'] ?? null);\n" + - 94617:51:10
" $view = $store->viewFor($user['id']);\n" + - 94717:51:10
" $profile = $store->profilePayload($user['id']);\n" + - 94817:51:10
' }\n' + - 94917:51:10
' jsonOut([\n' + - 95017:51:10
" 'ok' => true,\n" + - 95117:51:10
" 'configured' => $configured,\n" + - 95217:51:10
" 'local' => $local,\n" + - 95317:51:10
" 'csrf' => csrfToken(),\n" + - 95417:51:10
" 'me' => $user,\n" + - 95517:51:10
" 'lobby' => $view['lobby'],\n" + - 95617:51:10
" 'incoming' => $view['incoming'],\n" + - 95717:51:10
" 'shot_results' => $view['shot_results'],\n" + - 95817:51:10
" 'shot_flights' => $view['shot_flights'] ?? [],\n" + - 95917:51:10
" 'miss_chance_default' => METEORS_DEFAULT_MISS,\n" + - 96017:51:10
" 'flight_duration' => METEORS_FLIGHT_DURATION,\n" + - 96117:51:10
" 'login_url' => 'auth.php',\n" + - 96217:51:10
" 'logout_url' => 'logout.php',\n" + - 96317:51:10
" 'lifetime_points' => $profile['lifetime_points'],\n" + - 96417:51:10
" 'locale' => $profile['locale'],\n" + - 96517:51:10
" 'last_planet' => $profile['last_planet'],\n" + - 96617:51:10
" 'blocks' => $profile['blocks'],\n" + - 96717:51:10
" 'planets' => $profile['planets'],\n" + - 96817:51:10
' ]);\n' + - 96917:51:10
' }\n' + - 97017:51:10
'\n' + - 97117:51:10
" if ($action === 'leaderboard') {\n" + - 97217:51:10
" $scope = (string) ($body['scope'] ?? $_GET['scope'] ?? 'global');\n" + - 97317:51:10
" if ($scope !== 'friends') {\n" + - 97417:51:10
" $scope = 'global';\n" + - 97517:51:10
' }\n' + - 97617:51:10
' $store = Store::open();\n' + - 97717:51:10
" $viewer = $user['id'] ?? null;\n" + - 97817:51:10
" $token = $_SESSION['token'] ?? null;\n" + - 97917:51:10
' [$known, $friends, $friendsError] = leaderboardKnownIdentities($store, $user, $token);\n' + - 98017:51:10
" if ($scope === 'friends') {\n" + - 98117:51:10
' if (!$user) {\n' + - 98217:51:10
' jsonOut([\n' + - 98317:51:10
" 'ok' => true,\n" + - 98417:51:10
" 'scope' => 'friends',\n" + - 98517:51:10
" 'login_required' => true,\n" + - 98617:51:10
" 'players' => [],\n" + - 98717:51:10
" 'me' => null,\n" + - 98817:51:10
' ]);\n' + - 98917:51:10
' }\n' + - 99017:51:10
' if ($friendsError !== null && $friends === []) {\n' + - 99117:51:10
" jsonFail('De vriendenlijst is nu niet beschikbaar.', 502);\n" + - 99217:51:10
' }\n' + - 99317:51:10
' jsonOut([\n' + - 99417:51:10
" 'ok' => true,\n" + - 99517:51:10
" 'scope' => 'friends',\n" + - 99617:51:10
" 'login_required' => false,\n" + - 99717:51:10
" 'players' => $store->applyIdentities(\n" + - 99817:51:10
' $store->friendsLeaderboard($friends, 10, $viewer),\n' + - 99917:51:10
' $known\n' + - 100017:51:10
' ),\n' + - 100117:51:10
" 'me' => $viewer,\n" + - 100217:51:10
' ]);\n' + - 100317:51:10
' }\n' + - 100417:51:10
' jsonOut([\n' + - 100517:51:10
" 'ok' => true,\n" + - 100617:51:10
" 'scope' => 'global',\n" + - 100717:51:10
" 'login_required' => false,\n" + - 100817:51:10
" 'players' => $store->applyIdentities($store->topPlayers(10, $viewer), $known),\n" + - 100917:51:10
" 'me' => $viewer,\n" + - 101017:51:10
' ]);\n' + - 101117:51:10
' }\n' + - 101217:51:10
'\n' + - 101317:51:10
" if ($action === 'test_login') {\n" + - 101417:51:10
' if (!localDev()) {\n' + - 101517:51:10
" jsonFail('Niet beschikbaar.', 403);\n" + - 101617:51:10
' }\n' + - 101717:51:10
' requireCsrf();\n' + - 101817:51:10
" $who = (string) ($body['user'] ?? $_GET['user'] ?? '');\n" + - 101917:51:10
" if (!in_array($who, ['test_user_1', 'test_user_2'], true)) {\n" + - 102017:51:10
" jsonFail('Onbekende testgebruiker.');\n" + - 102117:51:10
' }\n' + - 102217:51:10
" loginUser('local:' . $who, $who);\n" + - 102317:51:10
" jsonOut(['ok' => true, 'me' => currentUser(), 'csrf' => csrfToken()]);\n" + - 102417:51:10
' }\n' + - 102517:51:10
'\n' + - 102617:51:10
" if (!$user && $action !== 'me') {\n" + - 102717:51:10
" jsonFail('Log in om verder te gaan.', 401);\n" + - 102817:51:10
' }\n' + - 102917:51:10
'\n' + - 103017:51:10
' requireCsrf();\n' + - 103117:51:10
' $store = Store::open();\n' + - 103217:51:10
" $userId = $user['id'];\n" + - 103317:51:10
" $name = $user['name'];\n" + - 103417:51:10
'\n' + - 103517:51:10
' switch ($action) {\n' + - 103617:51:10
" case 'lobby_create':\n" + - 103717:51:10
" $miss = isset($body['miss_chance']) ? (float) $body['miss_chance'] : METEORS_DEFAULT_MISS;\n" + - 103817:51:10
" $planet = (string) ($body['planet_id'] ?? '');\n" + - 103917:51:10
' $lobby = $store->createLobby($userId, $name, $miss, $planet);\n' + - 104017:51:10
" jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" + - 104117:51:10
'\n' + - 104217:51:10
" case 'lobby_join':\n" + - 104317:51:10
" $code = (string) ($body['code'] ?? '');\n" + - 104417:51:10
" $planet = (string) ($body['planet_id'] ?? '');\n" + - 104517:51:10
' $lobby = $store->joinLobby($userId, $name, $code, $planet);\n' + - 104617:51:10
" jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" + - 104717:51:10
'\n' + - 104817:51:10
" case 'lobby_set_planet':\n" + - 104917:51:10
" $planet = (string) ($body['planet_id'] ?? '');\n" + - 105017:51:10
' $lobby = $store->setPlanet($userId, $planet);\n' + - 105117:51:10
" jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" + - 105217:51:10
'\n' + - 105317:51:10
" case 'lobby_leave':\n" + - 105417:51:10
' $store->leaveLobby($userId);\n' + - 105517:51:10
" jsonOut(['ok' => true, 'lobby' => null, 'csrf' => csrfToken()]);\n" + - 105617:51:10
'\n' + - 105717:51:10
" case 'lobby_ready':\n" + - 105817:51:10
" $ready = (bool) ($body['ready'] ?? true);\n" + - 105917:51:10
' $lobby = $store->setReady($userId, $ready);\n' + - 106017:51:10
" jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" + - 106117:51:10
'\n' + - 106217:51:10
" case 'lobby_start':\n" + - 106317:51:10
' $lobby = $store->startGame($userId);\n' + - 106417:51:10
" jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" + - 106517:51:10
'\n' + - 106617:51:10
" case 'poll':\n" + - 106717:51:10
" $snapshot = isset($body['snapshot']) && is_array($body['snapshot']) ? $body['snapshot'] : null;\n" + - 106817:51:10
" $score = isset($body['score']) ? (int) $body['score'] : null;\n" + - 106917:51:10
" $eliminated = !empty($body['eliminated']);\n" + - 107017:51:10
" $outgoing = isset($body['outgoing_shots']) && is_array($body['outgoing_shots']) ? $body['outgoing_shots'] : [];\n" + - 107117:51:10
' $view = $store->viewFor($userId, $snapshot, $score, $eliminated, $outgoing);\n' + - 107217:51:10
' $profile = $store->profilePayload($userId);\n' + - 107317:51:10
' jsonOut([\n' + - 107417:51:10
" 'ok' => true,\n" + - 107517:51:10
" 'csrf' => csrfToken(),\n" + - 107617:51:10
" 'me' => $user,\n" + - 107717:51:10
" 'lobby' => $view['lobby'],\n" + - 107817:51:10
" 'incoming' => $view['incoming'],\n" + - 107917:51:10
" 'shot_results' => $view['shot_results'],\n" + - 108017:51:10
" 'shot_flights' => $view['shot_flights'] ?? [],\n" + - 108117:51:10
" 'lifetime_points' => $profile['lifetime_points'],\n" + - 108217:51:10
" 'locale' => $profile['locale'],\n" + - 108317:51:10
" 'last_planet' => $profile['last_planet'],\n" + - 108417:51:10
" 'blocks' => $profile['blocks'],\n" + - 108517:51:10
" 'planets' => $profile['planets'],\n" + - 108617:51:10
' ]);\n' + - 108717:51:10
'\n' + - 108817:51:10
" case 'play_begin':\n" + - 108917:51:10
" $mode = (string) ($body['mode'] ?? 'solo');\n" + - 109017:51:10
' $ses = $store->playBegin($userId, $mode);\n' + - 109117:51:10
" jsonOut(['ok' => true, 'csrf' => csrfToken(), 'token' => $ses['token']]);\n" + - 109217:51:10
'\n' + - 109317:51:10
" case 'play_finish':\n" + - 109417:51:10
" $token = (string) ($body['token'] ?? '');\n" + - 109517:51:10
" $score = isset($body['score']) ? (int) $body['score'] : 0;\n" + - 109617:51:10
' $result = $store->playFinish($userId, $token, $score);\n' + - 109717:51:10
' jsonOut([\n' + - 109817:51:10
" 'ok' => true,\n" + - 109917:51:10
" 'csrf' => csrfToken(),\n" + - 110017:51:10
" 'lifetime_points' => $result['lifetime_points'],\n" + - 110117:51:10
" 'awarded' => $result['awarded'],\n" + - 110217:51:10
" 'already' => $result['already'],\n" + - 110317:51:10
" 'blocks' => Blocks::present($result['lifetime_points']),\n" + - 110417:51:10
' ]);\n' + - 110517:51:10
'\n' + - 110617:51:10
" case 'planet_save':\n" + - 110717:51:10
" $snap = $store->saveCustomPlanet($userId, is_array($body['planet'] ?? null) ? $body['planet'] : $body);\n" + - 110817:51:10
' jsonOut([\n' + - 110917:51:10
" 'ok' => true,\n" + - 111017:51:10
" 'csrf' => csrfToken(),\n" + - 111117:51:10
" 'planet' => $snap,\n" + - 111217:51:10
" 'planets' => $store->listCustomPlanets($userId),\n" + - 111317:51:10
' ]);\n' + - 111417:51:10
'\n' + - 111517:51:10
" case 'planet_delete':\n" + - 111617:51:10
" $store->deleteCustomPlanet($userId, (string) ($body['id'] ?? $body['planet_id'] ?? ''));\n" + - 111717:51:10
' jsonOut([\n' + - 111817:51:10
" 'ok' => true,\n" + - 111917:51:10
" 'csrf' => csrfToken(),\n" + - 112017:51:10
" 'planets' => $store->listCustomPlanets($userId),\n" + - 112117:51:10
' ]);\n' + - 112217:51:10
'\n' + - 112317:51:10
" case 'set_last_planet':\n" + - 112417:51:10
" $pid = $store->setLastPlanet($userId, (string) ($body['planet_id'] ?? ''));\n" + - 112517:51:10
" jsonOut(['ok' => true, 'csrf' => csrfToken(), 'last_planet' => $pid]);\n" + - 112617:51:10
'\n' + - 112717:51:10
" case 'set_locale':\n" + - 112817:51:10
" $locale = $store->setLocale($userId, (string) ($body['locale'] ?? ''));\n" + - 112917:51:10
" jsonOut(['ok' => true, 'csrf' => csrfToken(), 'locale' => $locale]);\n" + - 113017:51:10
'\n' + - 113117:51:10
' default:\n' + - 113217:51:10
" jsonFail('Onbekende actie.', 404);\n" + - 113317:51:10
' }\n' + - 113417:51:10
'} catch (RuntimeException $e) {\n' + - 113517:51:10
' jsonFail($e->getMessage(), 400);\n' + - 113617:51:10
'} catch (Throwable $e) {\n' + - 113717:51:10
" jsonFail('Interne fout.', 500);\n" + - 113817:51:10
'}\n' - 113917:51:10
- 114017:51:10
code: 'ERR_ASSERTION' - 114117:51:11
name: 'AssertionError' - 114217:51:11
expected: - 114317:51:11
actual: |- - 114417:51:11
<?php - 114517:51:11
declare(strict_types=1); - 114617:51:11
require __DIR__ . '/lib/bootstrap.php'; - 114717:51:11
require __DIR__ . '/lib/Store.php'; - 114817:51:11
- 114917:51:11
$action = $_GET['action'] ?? $_POST['action'] ?? ''; - 115017:51:11
if ($action === '') { - 115117:51:11
$body = readJsonBody(); - 115217:51:11
$action = (string) ($body['action'] ?? ''); - 115317:51:11
} else { - 115417:51:11
$body = readJsonBody(); - 115517:51:11
} - 115617:51:11
- 115717:51:11
try { - 115817:51:11
$configured = authConfigured(); - 115917:51:11
$local = localDev(); - 116017:51:11
$user = currentUser(); - 116117:51:11
- 116217:51:11
if ($action === 'me' || $action === '') { - 116317:51:11
$view = ['lobby' => null, 'incoming' => [], 'shot_results' => [], 'shot_flights' => []]; - 116417:51:11
$profile = [ - 116517:51:11
'lifetime_points' => 0, - 116617:51:11
'locale' => null, - 116717:51:11
'last_planet' => null, - 116817:51:11
'blocks' => [], - 116917:51:11
'planets' => [], - 117017:51:11
]; - 117117:51:11
if ($user) { - 117217:51:11
$store = Store::open(); - 117317:51:11
$store->touchProfile($user['id'], $user['name'], $user['avatar'] ?? null); - 117417:51:11
$view = $store->viewFor($user['id']); - 117517:51:11
$profile = $store->profilePayload($user['id']); - 117617:51:11
} - 117717:51:11
jsonOut([ - 117817:51:11
'ok' => true, - 117917:51:11
'configured' => $configured, - 118017:51:11
'local' => $local, - 118117:51:11
'csrf' => csrfToken(), - 118217:51:11
'me' => $user, - 118317:51:11
'lobby' => $view['lobby'], - 118417:51:11
'incoming' => $view['incoming'], - 118517:51:11
'shot_results' => $view['shot_results'], - 118617:51:11
'shot_flights' => $view['shot_flights'] ?? [], - 118717:51:11
'miss_chance_default' => METEORS_DEFAULT_MISS, - 118817:51:11
'flight_duration' => METEORS_FLIGHT_DURATION, - 118917:51:11
'login_url' => 'auth.php', - 119017:51:11
'logout_url' => 'logout.php', - 119117:51:11
'lifetime_points' => $profile['lifetime_points'], - 119217:51:11
'locale' => $profile['locale'], - 119317:51:11
'last_planet' => $profile['last_planet'], - 119417:51:11
'blocks' => $profile['blocks'], - 119517:51:11
'planets' => $profile['planets'], - 119617:51:11
]); - 119717:51:11
} - 119817:51:11
- 119917:51:11
if ($action === 'leaderboard') { - 120017:51:11
$scope = (string) ($body['scope'] ?? $_GET['scope'] ?? 'global'); - 120117:51:11
if ($scope !== 'friends') { - 120217:51:11
$scope = 'global'; - 120317:51:11
} - 120417:51:11
$store = Store::open(); - 120517:51:11
$viewer = $user['id'] ?? null; - 120617:51:11
$token = $_SESSION['token'] ?? null; - 120717:51:11
[$known, $friends, $friendsError] = leaderboardKnownIdentities($store, $user, $token); - 120817:51:11
if ($scope === 'friends') { - 120917:51:11
if (!$user) { - 121017:51:11
jsonOut([ - 121117:51:11
'ok' => true, - 121217:51:11
'scope' => 'friends', - 121317:51:11
'login_required' => true, - 121417:51:11
'players' => [], - 121517:51:11
'me' => null, - 121617:51:11
]); - 121717:51:11
} - 121817:51:11
if ($friendsError !== null && $friends === []) { - 121917:51:11
jsonFail('De vriendenlijst is nu niet beschikbaar.', 502); - 122017:51:11
} - 122117:51:11
jsonOut([ - 122217:51:11
'ok' => true, - 122317:51:11
'scope' => 'friends', - 122417:51:11
'login_required' => false, - 122517:51:11
'players' => $store->applyIdentities( - 122617:51:11
$store->friendsLeaderboard($friends, 10, $viewer), - 122717:51:11
$known - 122817:51:11
), - 122917:51:11
'me' => $viewer, - 123017:51:11
]); - 123117:51:11
} - 123217:51:11
jsonOut([ - 123317:51:11
'ok' => true, - 123417:51:11
'scope' => 'global', - 123517:51:11
'login_required' => false, - 123617:51:11
'players' => $store->applyIdentities($store->topPlayers(10, $viewer), $known), - 123717:51:11
'me' => $viewer, - 123817:51:11
]); - 123917:51:11
} - 124017:51:11
- 124117:51:11
if ($action === 'test_login') { - 124217:51:11
if (!localDev()) { - 124317:51:11
jsonFail('Niet beschikbaar.', 403); - 124417:51:11
} - 124517:51:11
requireCsrf(); - 124617:51:11
$who = (string) ($body['user'] ?? $_GET['user'] ?? ''); - 124717:51:11
if (!in_array($who, ['test_user_1', 'test_user_2'], true)) { - 124817:51:11
jsonFail('Onbekende testgebruiker.'); - 124917:51:11
} - 125017:51:11
loginUser('local:' . $who, $who); - 125117:51:11
jsonOut(['ok' => true, 'me' => currentUser(), 'csrf' => csrfToken()]); - 125217:51:11
} - 125317:51:11
- 125417:51:11
if (!$user && $action !== 'me') { - 125517:51:11
jsonFail('Log in om verder te gaan.', 401); - 125617:51:11
} - 125717:51:11
- 125817:51:11
requireCsrf(); - 125917:51:11
$store = Store::open(); - 126017:51:11
$userId = $user['id']; - 126117:51:11
$name = $user['name']; - 126217:51:11
- 126317:51:11
switch ($action) { - 126417:51:11
case 'lobby_create': - 126517:51:11
$miss = isset($body['miss_chance']) ? (float) $body['miss_chance'] : METEORS_DEFAULT_MISS; - 126617:51:11
$planet = (string) ($body['planet_id'] ?? ''); - 126717:51:11
$lobby = $store->createLobby($userId, $name, $miss, $planet); - 126817:51:11
jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]); - 126917:51:11
- 127017:51:11
case 'lobby_join': - 127117:51:11
$code = (string) ($body['code'] ?? ''); - 127217:51:11
$planet = (string) ($body['planet_id'] ?? ''); - 127317:51:11
$lobby = $store->joinLobby($userId, $name, $code, $planet); - 127417:51:11
jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]); - 127517:51:11
- 127617:51:11
case 'lobby_set_planet': - 127717:51:11
$planet = (string) ($body['planet_id'] ?? ''); - 127817:51:11
$lobby = $store->setPlanet($userId, $planet); - 127917:51:11
jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]); - 128017:51:11
- 128117:51:11
case 'lobby_leave': - 128217:51:11
$store->leaveLobby($userId); - 128317:51:11
jsonOut(['ok' => true, 'lobby' => null, 'csrf' => csrfToken()]); - 128417:51:11
- 128517:51:11
case 'lobby_ready': - 128617:51:11
$ready = (bool) ($body['ready'] ?? true); - 128717:51:11
$lobby = $store->setReady($userId, $ready); - 128817:51:11
jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]); - 128917:51:11
- 129017:51:11
case 'lobby_start': - 129117:51:11
$lobby = $store->startGame($userId); - 129217:51:11
jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]); - 129317:51:11
- 129417:51:11
case 'poll': - 129517:51:11
$snapshot = isset($body['snapshot']) && is_array($body['snapshot']) ? $body['snapshot'] : null; - 129617:51:11
$score = isset($body['score']) ? (int) $body['score'] : null; - 129717:51:11
$eliminated = !empty($body['eliminated']); - 129817:51:11
$outgoing = isset($body['outgoing_shots']) && is_array($body['outgoing_shots']) ? $body['outgoing_shots'] : []; - 129917:51:11
$view = $store->viewFor($userId, $snapshot, $score, $eliminated, $outgoing); - 130017:51:11
$profile = $store->profilePayload($userId); - 130117:51:11
jsonOut([ - 130217:51:11
'ok' => true, - 130317:51:11
'csrf' => csrfToken(), - 130417:51:11
'me' => $user, - 130517:51:11
'lobby' => $view['lobby'], - 130617:51:11
'incoming' => $view['incoming'], - 130717:51:11
'shot_results' => $view['shot_results'], - 130817:51:11
'shot_flights' => $view['shot_flights'] ?? [], - 130917:51:11
'lifetime_points' => $profile['lifetime_points'], - 131017:51:11
'locale' => $profile['locale'], - 131117:51:11
'last_planet' => $profile['last_planet'], - 131217:51:11
'blocks' => $profile['blocks'], - 131317:51:11
'planets' => $profile['planets'], - 131417:51:11
]); - 131517:51:11
- 131617:51:11
case 'play_begin': - 131717:51:11
$mode = (string) ($body['mode'] ?? 'solo'); - 131817:51:11
$ses = $store->playBegin($userId, $mode); - 131917:51:11
jsonOut(['ok' => true, 'csrf' => csrfToken(), 'token' => $ses['token']]); - 132017:51:11
- 132117:51:11
case 'play_finish': - 132217:51:11
$token = (string) ($body['token'] ?? ''); - 132317:51:11
$score = isset($body['score']) ? (int) $body['score'] : 0; - 132417:51:11
$result = $store->playFinish($userId, $token, $score); - 132517:51:11
jsonOut([ - 132617:51:11
'ok' => true, - 132717:51:11
'csrf' => csrfToken(), - 132817:51:11
'lifetime_points' => $result['lifetime_points'], - 132917:51:11
'awarded' => $result['awarded'], - 133017:51:11
'already' => $result['already'], - 133117:51:11
'blocks' => Blocks::present($result['lifetime_points']), - 133217:51:11
]); - 133317:51:11
- 133417:51:11
case 'planet_save': - 133517:51:11
$snap = $store->saveCustomPlanet($userId, is_array($body['planet'] ?? null) ? $body['planet'] : $body); - 133617:51:11
jsonOut([ - 133717:51:11
'ok' => true, - 133817:51:11
'csrf' => csrfToken(), - 133917:51:11
'planet' => $snap, - 134017:51:11
'planets' => $store->listCustomPlanets($userId), - 134117:51:11
]); - 134217:51:11
- 134317:51:11
case 'planet_delete': - 134417:51:11
$store->deleteCustomPlanet($userId, (string) ($body['id'] ?? $body['planet_id'] ?? '')); - 134517:51:11
jsonOut([ - 134617:51:11
'ok' => true, - 134717:51:11
'csrf' => csrfToken(), - 134817:51:11
'planets' => $store->listCustomPlanets($userId), - 134917:51:11
]); - 135017:51:11
- 135117:51:11
case 'set_last_planet': - 135217:51:11
$pid = $store->setLastPlanet($userId, (string) ($body['planet_id'] ?? '')); - 135317:51:11
jsonOut(['ok' => true, 'csrf' => csrfToken(), 'last_planet' => $pid]); - 135417:51:11
- 135517:51:11
case 'set_locale': - 135617:51:11
$locale = $store->setLocale($userId, (string) ($body['locale'] ?? '')); - 135717:51:11
jsonOut(['ok' => true, 'csrf' => csrfToken(), 'locale' => $locale]); - 135817:51:11
- 135917:51:11
default: - 136017:51:11
jsonFail('Onbekende actie.', 404); - 136117:51:11
} - 136217:51:11
} catch (RuntimeException $e) { - 136317:51:11
jsonFail($e->getMessage(), 400); - 136417:51:11
} catch (Throwable $e) { - 136517:51:11
jsonFail('Interne fout.', 500); - 136617:51:11
} - 136717:51:11
- 136817:51:11
operator: 'match' - 136917:51:11
stack: |- - 137017:51:11
TestContext.<anonymous> (/workspace/test/leaderboard.test.js:52:10) - 137117:51:11
Test.runInAsyncScope (node:async_hooks:206:9) - 137217:51:11
Test.run (node:internal/test_runner/test:796:25) - 137317:51:11
Suite.processPendingSubtests (node:internal/test_runner/test:526:18) - 137417:51:11
Test.postRun (node:internal/test_runner/test:889:19) - 137517:51:11
Test.run (node:internal/test_runner/test:835:12) - 137617:51:11
async Suite.processPendingSubtests (node:internal/test_runner/test:526:7) - 137717:51:11
... - 137817:51:11
# Subtest: translates the leaderboard in every language - 137917:51:11
ok 4 - translates the leaderboard in every language - 138017:51:11
--- - 138117:51:11
duration_ms: 0.343107 - 138217:51:11
... - 138317:51:11
1..4 - 138417:51:11
not ok 35 - Leaderboard wiring (t1247) - 138517:51:11
--- - 138617:51:11
duration_ms: 8.973 - 138717:51:11
type: 'suite' - 138817:51:11
location: '/workspace/test/leaderboard.test.js:18:1' - 138917:51:11
failureType: 'subtestsFailed' - 139017:51:11
error: '1 subtest failed' - 139117:51:11
code: 'ERR_TEST_FAILURE' - 139217:51:11
... - 139317:51:11
# Subtest: Avatar helpers (t1247) - 139417:51:11
# Subtest: builds initials and rejects a javascript picture URL - 139517:51:11
ok 1 - builds initials and rejects a javascript picture URL - 139617:51:11
--- - 139717:51:11
duration_ms: 0.849764 - 139817:51:11
... - 139917:51:11
1..1 - 140017:51:11
ok 36 - Avatar helpers (t1247) - 140117:51:11
--- - 140217:51:11
duration_ms: 1.030304 - 140317:51:11
type: 'suite' - 140417:51:11
... - 140517:51:11
# Subtest: Column lock and game over - 140617:51:11
# Subtest: a column filled from floor to top becomes dark gray and locked - 140717:51:11
ok 1 - a column filled from floor to top becomes dark gray and locked - 140817:51:11
--- - 140917:51:11
duration_ms: 6.407159 - 141017:51:11
... - 141117:51:11
# Subtest: a new spawn never lands in a locked column - 141217:51:11
ok 2 - a new spawn never lands in a locked column - 141317:51:11
--- - 141417:51:11
duration_ms: 7.602615 - 141517:51:11
... - 141617:51:11
# Subtest: a nearly full column (12 blocks) is not locked - 141717:51:11
ok 3 - a nearly full column (12 blocks) is not locked - 141817:51:11
--- - 141917:51:11
duration_ms: 3.424922 - 142017:51:11
... - 142117:51:11
# Subtest: when every column is locked the player loses - 142217:51:11
ok 4 - when every column is locked the player loses - 142317:51:11
--- - 142417:51:11
duration_ms: 7.59487 - 142517:51:11
... - 142617:51:11
# Subtest: game over does not fire while at least one column is open - 142717:51:11
ok 5 - game over does not fire while at least one column is open - 142817:51:11
--- - 142917:51:11
duration_ms: 2.339765 - 143017:51:11
... - 143117:51:11
1..5 - 143217:51:11
ok 37 - Column lock and game over - 143317:51:11
--- - 143417:51:11
duration_ms: 29.757006 - 143517:51:11
type: 'suite' - 143617:51:11
... - 143717:51:11
# Subtest: LoginPrompt decision (t1246) - 143817:51:11
# Subtest: shows the prompt only when logged out, not remembered, not an auth return - 143917:51:11
ok 1 - shows the prompt only when logged out, not remembered, not an auth return - 144017:51:11
--- - 144117:51:11
duration_ms: 1.273503 - 144217:51:11
... - 144317:51:11
# Subtest: stores the session choice in the given storage under a stable key - 144417:51:11
ok 2 - stores the session choice in the given storage under a stable key - 144517:51:11
--- - 144617:51:11
duration_ms: 0.385046 - 144717:51:11
... - 144817:51:11
# Subtest: treats a missing or throwing storage as not remembered - 144917:51:11
ok 3 - treats a missing or throwing storage as not remembered - 145017:51:11
--- - 145117:51:11
duration_ms: 0.289647 - 145217:51:11
... - 145317:51:11
# Subtest: detects a return from the auth callback or login URL - 145417:51:11
ok 4 - detects a return from the auth callback or login URL - 145517:51:11
--- - 145617:51:11
duration_ms: 0.770033 - 145717:51:11
... - 145817:51:11
1..4 - 145917:51:11
ok 38 - LoginPrompt decision (t1246) - 146017:51:11
--- - 146117:51:11
duration_ms: 4.513145 - 146217:51:11
type: 'suite' - 146317:51:11
... - 146417:51:11
# Subtest: LoginPrompt wiring (t1246) - 146517:51:11
# Subtest: is included in the game build before main.js - 146617:51:11
ok 1 - is included in the game build before main.js - 146717:51:11
--- - 146817:51:11
duration_ms: 0.701654 - 146917:51:11
... - 147017:51:11
# Subtest: has a startup dialog with Log in and Play as Guest, in the game style - 147117:51:11
ok 2 - has a startup dialog with Log in and Play as Guest, in the game style - 147217:51:11
--- - 147317:51:11
duration_ms: 0.492069 - 147417:51:11
... - 147517:51:11
# Subtest: uses the existing login URL (menu, not the online-panel return) and remembers the session choice - 147617:51:11
ok 3 - uses the existing login URL (menu, not the online-panel return) and remembers the session choice - 147717:51:11
--- - 147817:51:11
duration_ms: 2.921773 - 147917:51:11
... - 148017:51:11
# Subtest: translates the prompt in every language - 148117:51:11
ok 4 - translates the prompt in every language - 148217:51:11
--- - 148317:51:11
duration_ms: 1.041185 - 148417:51:11
... - 148517:51:11
1..4 - 148617:51:11
ok 39 - LoginPrompt wiring (t1246) - 148717:51:11
--- - 148817:51:11
duration_ms: 59.324493 - 148917:51:11
type: 'suite' - 149017:51:11
... - 149117:51:11
# Subtest: Thrown blocks collide with falling blocks (t1108) - 149217:51:11
# Subtest: mergeManualWithFalling averages velocity, decel and jumpHeight by block count - 149317:51:11
ok 1 - mergeManualWithFalling averages velocity, decel and jumpHeight by block count - 149417:51:11
--- - 149517:51:11
duration_ms: 2.854465 - 149617:51:11
... - 149717:51:11
# Subtest: a thrown block merges with a falling block and they never pass through - 149817:51:11
ok 2 - a thrown block merges with a falling block and they never pass through - 149917:51:11
--- - 150017:51:11
duration_ms: 7.050854 - 150117:51:11
... - 150217:51:11
# Subtest: a stack of two falling blocks merges with the thrown block as one cluster of three - 150317:51:11
ok 3 - a stack of two falling blocks merges with the thrown block as one cluster of three - 150417:51:11
--- - 150517:51:11
duration_ms: 7.148317 - 150617:51:11
... - 150717:51:11
# Subtest: later falling cargo on a fromManual cluster also averages and does not pass through - 150817:51:11
ok 4 - later falling cargo on a fromManual cluster also averages and does not pass through - 150917:51:11
--- - 151017:51:11
duration_ms: 5.514695 - 151117:51:11
... - 151217:51:11
# Subtest: a fast substep that would cross still merges; they never pass through - 151317:51:11
ok 5 - a fast substep that would cross still merges; they never pass through - 151417:51:11
--- - 151517:51:11
duration_ms: 0.361803 - 151617:51:11
... - 151717:51:11
# Subtest: a normal match-rocket does not average falling cargo (existing attach rule) - 151817:51:11
ok 6 - a normal match-rocket does not average falling cargo (existing attach rule) - 151917:51:11
--- - 152017:51:11
duration_ms: 0.35007 - 152117:51:11
... - 152217:51:11
1..6 - 152317:51:11
ok 40 - Thrown blocks collide with falling blocks (t1108) - 152417:51:11
--- - 152517:51:11
duration_ms: 25.088918 - 152617:51:11
type: 'suite' - 152717:51:11
... - 152817:51:11
# Subtest: Match detection and launch - 152917:51:11
# Subtest: does not match two adjacent blocks of the same color - 153017:51:11
ok 1 - does not match two adjacent blocks of the same color - 153117:51:11
--- - 153217:51:11
duration_ms: 2.39031 - 153317:51:11
... - 153417:51:11
# Subtest: does not match a diagonal of three - 153517:51:11
ok 2 - does not match a diagonal of three - 153617:51:11
--- - 153717:51:11
duration_ms: 0.433368 - 153817:51:11
... - 153917:51:11
# Subtest: a horizontal row of 3 turns gray, links, and launches together - 154017:51:11
ok 3 - a horizontal row of 3 turns gray, links, and launches together - 154117:51:11
--- - 154217:51:11
duration_ms: 2.728719 - 154317:51:11
... - 154417:51:11
# Subtest: a vertical column of 3 launches with 120% jump height - 154517:51:11
ok 4 - a vertical column of 3 launches with 120% jump height - 154617:51:11
--- - 154717:51:11
duration_ms: 0.665256 - 154817:51:11
... - 154917:51:11
# Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 155017:51:11
ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 155117:51:11
--- - 155217:51:11
duration_ms: 0.503731 - 155317:51:11
... - 155417:51:11
# Subtest: everything sitting on top of a match flies with it, keeping its color - 155517:51:11
ok 6 - everything sitting on top of a match flies with it, keeping its color - 155617:51:11
--- - 155717:51:11
duration_ms: 0.542564 - 155817:51:11
... - 155917:51:11
# Subtest: blocks below a vertical match stay on the ground - 156017:51:11
ok 7 - blocks below a vertical match stay on the ground - 156117:51:11
--- - 156217:51:11
duration_ms: 0.41857 - 156317:51:11
... - 156417:51:11
# Subtest: two disjoint horizontal matches become two clusters - 156517:51:11
ok 8 - two disjoint horizontal matches become two clusters - 156617:51:11
--- - 156717:51:11
duration_ms: 0.502578 - 156817:51:11
... - 156917:51:11
# Subtest: two matches in the same columns fly as one linked cluster - 157017:51:11
ok 9 - two matches in the same columns fly as one linked cluster - 157117:51:11
--- - 157217:51:11
duration_ms: 0.486798 - 157317:51:11
... - 157417:51:11
# Subtest: tick itself finds and launches a match after a swap - 157517:51:11
ok 10 - tick itself finds and launches a match after a swap - 157617:51:11
--- - 157717:51:11
duration_ms: 0.765955 - 157817:51:11
... - 157917:51:11
1..10 - 158017:51:11
ok 41 - Match detection and launch - 158117:51:11
--- - 158217:51:11
duration_ms: 11.726696 - 158317:51:11
type: 'suite' - 158417:51:11
... - 158517:51:11
# Subtest: Launch physics - 158617:51:11
# Subtest: reaches the jump height in riseTime, then eases into a constant descent - 158717:51:11
ok 1 - reaches the jump height in riseTime, then eases into a constant descent - 158817:51:11
--- - 158917:51:11
duration_ms: 98.432422 - 159017:51:11
... - 159117:51:11
1..1 - 159217:51:11
ok 42 - Launch physics - 159317:51:11
--- - 159417:51:11
duration_ms: 98.644342 - 159517:51:11
type: 'suite' - 159617:51:11
... - 159717:51:11
# Subtest: Main menu modes (t1201) - 159817:51:11
# Subtest: menu has Play + Survival, no Offline Battle button - 159917:51:11
ok 1 - menu has Play + Survival, no Offline Battle button - 160017:51:11
--- - 160117:51:11
duration_ms: 1.57977 - 160217:51:11
... - 160317:51:11
# Subtest: Play opens the bot-rounds planet select, Survival the endless solo one - 160417:51:11
ok 2 - Play opens the bot-rounds planet select, Survival the endless solo one - 160517:51:11
--- - 160617:51:11
duration_ms: 0.324362 - 160717:51:11
... - 160817:51:11
# Subtest: Survival is translated in every language; old name keys are gone - 160917:51:11
ok 3 - Survival is translated in every language; old name keys are gone - 161017:51:11
--- - 161117:51:11
duration_ms: 0.31769 - 161217:51:11
... - 161317:51:12
# Subtest: no player-facing text still names the old "Offline Battle" mode or "solo" play - 161417:51:12
ok 4 - no player-facing text still names the old "Offline Battle" mode or "solo" play - 161517:51:12
--- - 161617:51:12
duration_ms: 10.408318 - 161717:51:12
... - 161817:51:12
# Subtest: mode labels: planet select and pause menu name the mode - 161917:51:12
ok 5 - mode labels: planet select and pause menu name the mode - 162017:51:12
--- - 162117:51:12
duration_ms: 0.268998 - 162217:51:12
... - 162317:51:12
1..5 - 162417:51:12
ok 43 - Main menu modes (t1201) - 162517:51:12
--- - 162617:51:12
duration_ms: 15.186544 - 162717:51:12
type: 'suite' - 162817:51:12
... - 162917:51:12
# Subtest: MiniLayout (t1125 / t1127 / t1131 / t1133) - 163017:51:12
# Subtest: uses sides on a wide desktop and top on a narrow or portrait one - 163117:51:12
ok 1 - uses sides on a wide desktop and top on a narrow or portrait one - 163217:51:12
--- - 163317:51:12
duration_ms: 3.065273 - 163417:51:12
... - 163517:51:12
# Subtest: anchors minis to the outer edges and fills inward, bottom-aligned (t1133) - 163617:51:12
ok 2 - anchors minis to the outer edges and fills inward, bottom-aligned (t1133) - 163717:51:12
--- - 163817:51:12
duration_ms: 4.930463 - 163917:51:12
... - 164017:51:12
# Subtest: fits 8 bots in a single row at 1400 and 1920, and wraps on a narrower wide screen (t1127) - 164117:51:12
ok 3 - fits 8 bots in a single row at 1400 and 1920, and wraps on a narrower wide screen (t1127) - 164217:51:12
--- - 164317:51:12
duration_ms: 0.824245 - 164417:51:12
... - 164517:51:12
# Subtest: shrinks minis so stacked rows stay under the HUD - 164617:51:12
ok 4 - shrinks minis so stacked rows stay under the HUD - 164717:51:12
--- - 164817:51:12
duration_ms: 0.28617 - 164917:51:12
... - 165017:51:12
# Subtest: solo (n=0) never reserves minis - 165117:51:12
ok 5 - solo (n=0) never reserves minis - 165217:51:12
--- - 165317:51:12
duration_ms: 0.288043 - 165417:51:12
... - 165517:51:12
1..5 - 165617:51:12
ok 44 - MiniLayout (t1125 / t1127 / t1131 / t1133) - 165717:51:12
--- - 165817:51:12
duration_ms: 11.262961 - 165917:51:12
type: 'suite' - 166017:51:12
... - 166117:51:12
# Subtest: Online flight visuals (t1125) - 166217:51:12
# Subtest: classifies player, enemy, and miss kinds - 166317:51:12
ok 1 - classifies player, enemy, and miss kinds - 166417:51:12
--- - 166517:51:12
duration_ms: 0.350441 - 166617:51:12
... - 166717:51:12
# Subtest: arc is a parabola that peaks at mid-flight above the chord - 166817:51:12
ok 2 - arc is a parabola that peaks at mid-flight above the chord - 166917:51:12
--- - 167017:51:12
duration_ms: 0.441203 - 167117:51:12
... - 167217:51:12
# Subtest: arc height scales with distance, clamped - 167317:51:12
ok 3 - arc height scales with distance, clamped - 167417:51:12
--- - 167517:51:12
duration_ms: 0.31801 - 167617:51:12
... - 167717:51:12
1..3 - 167817:51:12
ok 45 - Online flight visuals (t1125) - 167917:51:12
--- - 168017:51:12
duration_ms: 1.534204 - 168117:51:12
type: 'suite' - 168217:51:12
... - 168317:51:12
# Subtest: MiniPredict (t1182) - 168417:51:12
# Subtest: fall speed comes from the opponent planet (13 / fallTime) - 168517:51:12
ok 1 - fall speed comes from the opponent planet (13 / fallTime) - 168617:51:12
--- - 168717:51:12
duration_ms: 1.45767 - 168817:51:12
... - 168917:51:12
# Subtest: extrapolates a falling block downwards between snapshots, sub-cell - 169017:51:12
ok 2 - extrapolates a falling block downwards between snapshots, sub-cell - 169117:51:12
--- - 169217:51:12
duration_ms: 3.683059 - 169317:51:12
... - 169417:51:12
# Subtest: never predicts a landing below the stack, and leaves non-falling blocks alone - 169517:51:12
ok 3 - never predicts a landing below the stack, and leaves non-falling blocks alone - 169617:51:12
--- - 169717:51:12
duration_ms: 3.14809 - 169817:51:12
... - 169917:51:12
# Subtest: caps extrapolation when snapshots stop coming - 170017:51:12
ok 4 - caps extrapolation when snapshots stop coming - 170117:51:12
--- - 170217:51:12
duration_ms: 5.095684 - 170317:51:12
... - 170417:51:12
# Subtest: a repeated snapshot (opponent has not polled) does not restart the prediction - 170517:51:12
ok 5 - a repeated snapshot (opponent has not polled) does not restart the prediction - 170617:51:12
--- - 170717:51:12
duration_ms: 0.50331 - 170817:51:12
... - 170917:51:12
# Subtest: a late snapshot is placed at the time it was taken (sender clock offset) - 171017:51:12
ok 6 - a late snapshot is placed at the time it was taken (sender clock offset) - 171117:51:12
--- - 171217:51:12
duration_ms: 0.245063 - 171317:51:12
... - 171417:51:12
# Subtest: reconciles smoothly: a lagging block catches up, a leading one never moves up - 171517:51:12
ok 7 - reconciles smoothly: a lagging block catches up, a leading one never moves up - 171617:51:12
--- - 171717:51:12
duration_ms: 0.823724 - 171817:51:12
... - 171917:51:12
# Subtest: snaps when far off (e.g. block jumped / was dragged) and drops blocks that landed - 172017:51:12
ok 8 - snaps when far off (e.g. block jumped / was dragged) and drops blocks that landed - 172117:51:12
--- - 172217:51:12
duration_ms: 0.283064 - 172317:51:12
... - 172417:51:12
# Subtest: steady 750 ms snapshots of a constant fall render as one smooth descent - 172517:51:12
ok 9 - steady 750 ms snapshots of a constant fall render as one smooth descent - 172617:51:12
--- - 172717:51:12
duration_ms: 0.932891 - 172817:51:12
... - 172917:51:12
1..9 - 173017:51:12
ok 46 - MiniPredict (t1182) - 173117:51:12
--- - 173217:51:12
duration_ms: 18.249563 - 173317:51:12
type: 'suite' - 173417:51:12
... - 173517:51:12
# Subtest: Top-row mini scaling (t1203) - 173617:51:12
# Subtest: constants: 80 px max, 32 px min canvas width, 9 px min label font - 173717:51:12
ok 1 - constants: 80 px max, 32 px min canvas width, 9 px min label font - 173817:51:12
--- - 173917:51:12
duration_ms: 1.890327 - 174017:51:12
... - 174117:51:12
# Subtest: 412x915, 6 opponents: all fit above the field, inside the screen, no overlap - 174217:51:12
ok 2 - 412x915, 6 opponents: all fit above the field, inside the screen, no overlap - 174317:51:12
--- - 174417:51:12
duration_ms: 2.210992 - 174517:51:12
... - 174617:51:12
# Subtest: 412x915, 7 opponents: all fit above the field, inside the screen, no overlap - 174717:51:12
ok 3 - 412x915, 7 opponents: all fit above the field, inside the screen, no overlap - 174817:51:12
--- - 174917:51:12
duration_ms: 0.348097 - 175017:51:12
... - 175117:51:12
# Subtest: 412x915, 8 opponents: all fit above the field, inside the screen, no overlap - 175217:51:12
ok 4 - 412x915, 8 opponents: all fit above the field, inside the screen, no overlap - 175317:51:12
--- - 175417:51:12
duration_ms: 0.311939 - 175517:51:12
... - 175617:51:12
# Subtest: 412x915, 10 opponents: all fit above the field, inside the screen, no overlap - 175717:51:12
ok 5 - 412x915, 10 opponents: all fit above the field, inside the screen, no overlap - 175817:51:12
--- - 175917:51:12
duration_ms: 0.202903 - 176017:51:12
... - 176117:51:12
# Subtest: 412x915, 12 opponents: all fit above the field, inside the screen, no overlap - 176217:51:12
ok 6 - 412x915, 12 opponents: all fit above the field, inside the screen, no overlap - 176317:51:12
--- - 176417:51:12
duration_ms: 0.277815 - 176517:51:12
... - 176617:51:12
# Subtest: 412x915, 16 opponents: all fit above the field, inside the screen, no overlap - 176717:51:12
ok 7 - 412x915, 16 opponents: all fit above the field, inside the screen, no overlap - 176817:51:12
--- - 176917:51:12
duration_ms: 0.251685 - 177017:51:12
... - 177117:51:12
# Subtest: 360x800, 6 opponents: all fit above the field, inside the screen, no overlap - 177217:51:12
ok 8 - 360x800, 6 opponents: all fit above the field, inside the screen, no overlap - 177317:51:12
--- - 177417:51:12
duration_ms: 0.214615 - 177517:51:12
... - 177617:51:12
# Subtest: 360x800, 7 opponents: all fit above the field, inside the screen, no overlap - 177717:51:12
ok 9 - 360x800, 7 opponents: all fit above the field, inside the screen, no overlap - 177817:51:12
--- - 177917:51:12
duration_ms: 0.291189 - 178017:51:12
... - 178117:51:12
# Subtest: 360x800, 8 opponents: all fit above the field, inside the screen, no overlap - 178217:51:12
ok 10 - 360x800, 8 opponents: all fit above the field, inside the screen, no overlap - 178317:51:12
--- - 178417:51:12
duration_ms: 0.220015 - 178517:51:12
... - 178617:51:12
# Subtest: 360x800, 10 opponents: all fit above the field, inside the screen, no overlap - 178717:51:12
ok 11 - 360x800, 10 opponents: all fit above the field, inside the screen, no overlap - 178817:51:12
--- - 178917:51:12
duration_ms: 0.157146 - 179017:51:12
... - 179117:51:12
# Subtest: 360x800, 12 opponents: all fit above the field, inside the screen, no overlap - 179217:51:12
ok 12 - 360x800, 12 opponents: all fit above the field, inside the screen, no overlap - 179317:51:12
--- - 179417:51:12
duration_ms: 0.157297 - 179517:51:12
... - 179617:51:12
# Subtest: 360x800, 16 opponents: all fit above the field, inside the screen, no overlap - 179717:51:12
ok 13 - 360x800, 16 opponents: all fit above the field, inside the screen, no overlap - 179817:51:12
--- - 179917:51:12
duration_ms: 0.218552 - 180017:51:12
... - 180117:51:12
# Subtest: 460x900, 6 opponents: all fit above the field, inside the screen, no overlap - 180217:51:12
ok 14 - 460x900, 6 opponents: all fit above the field, inside the screen, no overlap - 180317:51:12
--- - 180417:51:12
duration_ms: 1.03316 - 180517:51:12
... - 180617:51:12
# Subtest: 460x900, 7 opponents: all fit above the field, inside the screen, no overlap - 180717:51:12
ok 15 - 460x900, 7 opponents: all fit above the field, inside the screen, no overlap - 180817:51:12
--- - 180917:51:12
duration_ms: 0.265952 - 181017:51:12
... - 181117:51:12
# Subtest: 460x900, 8 opponents: all fit above the field, inside the screen, no overlap - 181217:51:12
ok 16 - 460x900, 8 opponents: all fit above the field, inside the screen, no overlap - 181317:51:12
--- - 181417:51:12
duration_ms: 0.129815 - 181517:51:12
... - 181617:51:12
# Subtest: 460x900, 10 opponents: all fit above the field, inside the screen, no overlap - 181717:51:12
ok 17 - 460x900, 10 opponents: all fit above the field, inside the screen, no overlap - 181817:51:12
--- - 181917:51:12
duration_ms: 0.117582 - 182017:51:12
... - 182117:51:12
# Subtest: 460x900, 12 opponents: all fit above the field, inside the screen, no overlap - 182217:51:12
ok 18 - 460x900, 12 opponents: all fit above the field, inside the screen, no overlap - 182317:51:12
--- - 182417:51:12
duration_ms: 0.216157 - 182517:51:12
... - 182617:51:12
# Subtest: 460x900, 16 opponents: all fit above the field, inside the screen, no overlap - 182717:51:12
ok 19 - 460x900, 16 opponents: all fit above the field, inside the screen, no overlap - 182817:51:12
--- - 182917:51:12
duration_ms: 0.175632 - 183017:51:12
... - 183117:51:12
# Subtest: 390x844, 6 opponents: all fit above the field, inside the screen, no overlap - 183217:51:12
ok 20 - 390x844, 6 opponents: all fit above the field, inside the screen, no overlap - 183317:51:12
--- - 183417:51:12
duration_ms: 0.107914 - 183517:51:12
... - 183617:51:12
# Subtest: 390x844, 7 opponents: all fit above the field, inside the screen, no overlap - 183717:51:12
ok 21 - 390x844, 7 opponents: all fit above the field, inside the screen, no overlap - 183817:51:12
--- - 183917:51:12
duration_ms: 0.096502 - 184017:51:12
... - 184117:51:12
# Subtest: 390x844, 8 opponents: all fit above the field, inside the screen, no overlap - 184217:51:12
ok 22 - 390x844, 8 opponents: all fit above the field, inside the screen, no overlap - 184317:51:12
--- - 184417:51:12
duration_ms: 0.091162 - 184517:51:12
... - 184617:51:12
# Subtest: 390x844, 10 opponents: all fit above the field, inside the screen, no overlap - 184717:51:12
ok 23 - 390x844, 10 opponents: all fit above the field, inside the screen, no overlap - 184817:51:12
--- - 184917:51:12
duration_ms: 0.088657 - 185017:51:12
... - 185117:51:12
# Subtest: 390x844, 12 opponents: all fit above the field, inside the screen, no overlap - 185217:51:12
ok 24 - 390x844, 12 opponents: all fit above the field, inside the screen, no overlap - 185317:51:12
--- - 185417:51:12
duration_ms: 0.094088 - 185517:51:12
... - 185617:51:12
# Subtest: 390x844, 16 opponents: all fit above the field, inside the screen, no overlap - 185717:51:12
ok 25 - 390x844, 16 opponents: all fit above the field, inside the screen, no overlap - 185817:51:12
--- - 185917:51:12
duration_ms: 0.107613 - 186017:51:12
... - 186117:51:12
# Subtest: few opponents keep the full size; more opponents shrink monotonically - 186217:51:12
ok 26 - few opponents keep the full size; more opponents shrink monotonically - 186317:51:12
--- - 186417:51:12
duration_ms: 0.249951 - 186517:51:12
... - 186617:51:12
# Subtest: Tim's case: 6 bots at ~460 px portrait no longer spill behind the field - 186717:51:12
ok 27 - Tim's case: 6 bots at ~460 px portrait no longer spill behind the field - 186817:51:12
--- - 186917:51:12
duration_ms: 0.128052 - 187017:51:12
... - 187117:51:12
# Subtest: order is unchanged while everything fits, even with defeated opponents - 187217:51:12
ok 28 - order is unchanged while everything fits, even with defeated opponents - 187317:51:12
--- - 187417:51:12
duration_ms: 0.544908 - 187517:51:12
... - 187617:51:12
# Subtest: when they do not fit even at the minimum: living first, defeated last, stable - 187717:51:12
ok 29 - when they do not fit even at the minimum: living first, defeated last, stable - 187817:51:12
--- - 187917:51:12
duration_ms: 52.65003 - 188017:51:12
... - 188117:51:12
# Subtest: overflow at 360x800 with 31 opponents: min size, defeated ones are the ones behind the field - 188217:51:12
ok 30 - overflow at 360x800 with 31 opponents: min size, defeated ones are the ones behind the field - 188317:51:12
--- - 188417:51:12
duration_ms: 0.856796 - 188517:51:12
... - 188617:51:12
# Subtest: wide screens still use the side layout (unchanged) - 188717:51:12
ok 31 - wide screens still use the side layout (unchanged) - 188817:51:12
--- - 188917:51:12
duration_ms: 0.385547 - 189017:51:12
... - 189117:51:12
1..31 - 189217:51:12
ok 47 - Top-row mini scaling (t1203) - 189317:51:12
--- - 189417:51:12
duration_ms: 66.604499 - 189517:51:12
type: 'suite' - 189617:51:12
... - 189717:51:12
# Subtest: Outgoing shots and incoming garbage - 189817:51:12
# Subtest: blocks that leave the top are recorded as outgoing shots and can be consumed - 189917:51:12
ok 1 - blocks that leave the top are recorded as outgoing shots and can be consumed - 190017:51:12
--- - 190117:51:12
duration_ms: 86.85061 - 190217:51:12
... - 190317:51:12
# Subtest: ingestGarbage drops a falling grey that settles 3s then recolors - 190417:51:12
ok 2 - ingestGarbage drops a falling grey that settles 3s then recolors - 190517:51:12
--- - 190617:51:12
duration_ms: 79.209002 - 190717:51:12
... - 190817:51:12
# Subtest: ingestGarbage skips locked and full columns, and returns null when none are open - 190917:51:12
ok 3 - ingestGarbage skips locked and full columns, and returns null when none are open - 191017:51:12
--- - 191117:51:12
duration_ms: 4.09193 - 191217:51:12
... - 191317:51:12
# Subtest: missChance defaults to the planet Power formula and can still be overridden - 191417:51:12
ok 4 - missChance defaults to the planet Power formula and can still be overridden - 191517:51:12
--- - 191617:51:12
duration_ms: 3.271824 - 191717:51:12
... - 191817:51:12
# Subtest: fieldSnapshot lists every block for opponent miniatures - 191917:51:12
ok 5 - fieldSnapshot lists every block for opponent miniatures - 192017:51:12
--- - 192117:51:12
duration_ms: 0.452884 - 192217:51:12
... - 192317:51:12
1..5 - 192417:51:12
ok 48 - Outgoing shots and incoming garbage - 192517:51:12
--- - 192617:51:12
duration_ms: 175.3766 - 192717:51:12
type: 'suite' - 192817:51:12
... - 192917:51:12
# Subtest: Offline defeated counter (t1198) - 193017:51:12
# Subtest: counts every opponent knocked out, across rounds, once each - 193117:51:12
ok 1 - counts every opponent knocked out, across rounds, once each - 193217:51:12
--- - 193317:51:12
duration_ms: 6.335453 - 193417:51:12
... - 193517:51:12
# Subtest: i18n: singular / plural in every language, no skill line left - 193617:51:12
ok 2 - i18n: singular / plural in every language, no skill line left - 193717:51:12
--- - 193817:51:12
duration_ms: 4.969967 - 193917:51:12
... - 194017:51:12
1..2 - 194117:51:12
ok 49 - Offline defeated counter (t1198) - 194217:51:12
--- - 194317:51:12
duration_ms: 64.425508 - 194417:51:12
type: 'suite' - 194517:51:12
... - 194617:51:12
# Subtest: Offline Strijd progression (t1119) - 194717:51:12
# Subtest: one opponent for one round, then N opponents for N-1 rounds - 194817:51:12
ok 1 - one opponent for one round, then N opponents for N-1 rounds - 194917:51:12
--- - 195017:51:12
duration_ms: 56.977395 - 195117:51:12
... - 195217:51:12
# Subtest: skill starts at 5% and rises 1% per round, capped at 100% - 195317:51:12
ok 2 - skill starts at 5% and rises 1% per round, capped at 100% - 195417:51:12
--- - 195517:51:12
duration_ms: 0.367022 - 195617:51:12
... - 195717:51:12
1..2 - 195817:51:12
ok 50 - Offline Strijd progression (t1119) - 195917:51:12
--- - 196017:51:12
duration_ms: 58.800615 - 196117:51:12
type: 'suite' - 196217:51:12
... - 196317:51:12
# Subtest: Bot move finder and roll (t1119) - 196417:51:12
# Subtest: finds the shortest vertical move that creates a match - 196517:51:12
ok 1 - finds the shortest vertical move that creates a match - 196617:51:12
--- - 196717:51:12
duration_ms: 3.77917 - 196817:51:12
... - 196917:51:12
# Subtest: returns null when no vertical move creates a match - 197017:51:12
ok 2 - returns null when no vertical move creates a match - 197117:51:12
--- - 197217:51:12
duration_ms: 0.658522 - 197317:51:12
... - 197417:51:12
# Subtest: a roll at skill 0 never moves, skill 1 always tries - 197517:51:12
ok 3 - a roll at skill 0 never moves, skill 1 always tries - 197617:51:12
--- - 197717:51:12
duration_ms: 1.233006 - 197817:51:12
... - 197917:51:12
1..3 - 198017:51:12
ok 51 - Bot move finder and roll (t1119) - 198117:51:12
--- - 198217:51:12
duration_ms: 5.996314 - 198317:51:12
type: 'suite' - 198417:51:12
... - 198517:51:12
# Subtest: Offline battle flow (t1119) - 198617:51:12
# Subtest: starts a round with the scheduled number of bots, each a random planet - 198717:51:12
ok 1 - starts a round with the scheduled number of bots, each a random planet - 198817:51:12
--- - 198917:51:12
duration_ms: 6.330114 - 199017:51:12
... - 199117:51:12
# Subtest: a forced miss never delivers garbage; a forced hit does - 199217:51:12
ok 2 - a forced miss never delivers garbage; a forced hit does - 199317:51:12
--- - 199417:51:12
duration_ms: 3.738354 - 199517:51:12
... - 199617:51:12
# Subtest: winning a round means every bot is defeated, then advanceRound grows the field - 199717:51:12
ok 3 - winning a round means every bot is defeated, then advanceRound grows the field - 199817:51:12
--- - 199917:51:12
duration_ms: 0.804959 - 200017:51:12
... - 200117:51:12
# Subtest: the player losing sets state to lost at the current round - 200217:51:12
ok 4 - the player losing sets state to lost at the current round - 200317:51:12
--- - 200417:51:12
duration_ms: 0.781374 - 200517:51:12
... - 200617:51:12
1..4 - 200717:51:12
ok 52 - Offline battle flow (t1119) - 200817:51:12
--- - 200917:51:12
duration_ms: 12.388705 - 201017:51:12
type: 'suite' - 201117:51:12
... - 201217:51:12
# Subtest: Bot lookahead planner (t1144) - 201317:51:12
# Subtest: lookaheadChance is 0 through 10% skill, then linear to 1 at 40% - 201417:51:12
ok 1 - lookaheadChance is 0 through 10% skill, then linear to 1 at 40% - 201517:51:12
--- - 201617:51:12
duration_ms: 0.510654 - 201717:51:12
... - 201817:51:12
# Subtest: finds a 1-step immediate match and prefers it over a setup - 201917:51:12
ok 2 - finds a 1-step immediate match and prefers it over a setup - 202017:51:12
--- - 202117:51:12
duration_ms: 1.682094 - 202217:51:12
... - 202317:51:12
# Subtest: finds a 2-step setup when no immediate match exists - 202417:51:12
ok 3 - finds a 2-step setup when no immediate match exists - 202517:51:12
--- - 202617:51:12
duration_ms: 2.613912 - 202717:51:12
... - 202817:51:12
# Subtest: performs the first step and follows the plan on the next successful roll - 202917:51:12
ok 4 - performs the first step and follows the plan on the next successful roll - 203017:51:12
--- - 203117:51:12
duration_ms: 3.843592 - 203217:51:12
... - 203317:51:12
# Subtest: follows a committed plan even below the lookahead threshold - 203417:51:12
ok 5 - follows a committed plan even below the lookahead threshold - 203517:51:12
--- - 203617:51:12
duration_ms: 0.90121 - 203717:51:12
... - 203817:51:12
# Subtest: re-plans when the stored next step is no longer valid - 203917:51:12
ok 6 - re-plans when the stored next step is no longer valid - 204017:51:12
--- - 204117:51:12
duration_ms: 5.293057 - 204217:51:12
... - 204317:51:12
# Subtest: does not start a new 2-step plan at or below 10% skill - 204417:51:12
ok 7 - does not start a new 2-step plan at or below 10% skill - 204517:51:12
--- - 204617:51:12
duration_ms: 0.621914 - 204717:51:12
... - 204817:51:12
# Subtest: does not propose illegal swaps (gap, locked column, or off-segment) - 204917:51:12
ok 8 - does not propose illegal swaps (gap, locked column, or off-segment) - 205017:51:12
--- - 205117:51:12
duration_ms: 3.21683 - 205217:51:12
... - 205317:51:12
# Subtest: finishes a full 10×13 search quickly and within budget - 205417:51:12
ok 9 - finishes a full 10×13 search quickly and within budget - 205517:51:12
--- - 205617:51:12
duration_ms: 4.163615 - 205717:51:12
... - 205817:51:12
1..9 - 205917:51:12
ok 53 - Bot lookahead planner (t1144) - 206017:51:12
--- - 206117:51:12
duration_ms: 23.559703 - 206217:51:12
type: 'suite' - 206317:51:12
... - 206417:51:13
# Subtest: Shot into a flying cluster (t1111) - 206517:51:13
# Subtest: pushes the hit column up by 1 and attaches the shot at the bottom, grid-aligned - 206617:51:13
ok 1 - pushes the hit column up by 1 and attaches the shot at the bottom, grid-aligned - 206717:51:13
--- - 206817:51:13
duration_ms: 9.345474 - 206917:51:13
... - 207017:51:13
# Subtest: successive shots each push the column 1 and insert at the bottom, never overlapping - 207117:51:13
ok 2 - successive shots each push the column 1 and insert at the bottom, never overlapping - 207217:51:13
--- - 207317:51:13
duration_ms: 12.26402 - 207417:51:13
... - 207517:51:13
# Subtest: two launched blocks in the same column never overlap; the later one attaches under the earlier - 207617:51:13
ok 3 - two launched blocks in the same column never overlap; the later one attaches under the earlier - 207717:51:13
--- - 207817:51:13
duration_ms: 3.92719 - 207917:51:13
... - 208017:51:13
1..3 - 208117:51:13
ok 54 - Shot into a flying cluster (t1111) - 208217:51:13
--- - 208317:51:13
duration_ms: 27.29495 - 208417:51:13
type: 'suite' - 208517:51:13
... - 208617:51:13
# Subtest: Video scenario: repeated launches under a cluster with falling blocks (t1111/t1112) - 208717:51:13
# Subtest: never overlaps, vanishes, duplicates or reorders illegally - 208817:51:13
ok 1 - never overlaps, vanishes, duplicates or reorders illegally - 208917:51:13
--- - 209017:51:13
duration_ms: 307.980769 - 209117:51:13
... - 209217:51:13
1..1 - 209317:51:13
ok 55 - Video scenario: repeated launches under a cluster with falling blocks (t1111/t1112) - 209417:51:13
--- - 209517:51:13
duration_ms: 308.195584 - 209617:51:13
type: 'suite' - 209717:51:13
... - 209817:51:13
# Subtest: Falling must not teleport up through a gap (t1112) - 209917:51:13
# Subtest: a falling block below a hanging still lands on the stack under it, not on the hanging block - 210017:51:13
ok 1 - a falling block below a hanging still lands on the stack under it, not on the hanging block - 210117:51:13
--- - 210217:51:13
duration_ms: 0.814367 - 210317:51:13
... - 210417:51:13
# Subtest: a chain of stills sitting on a released landed cluster all fall, from rest - 210517:51:13
ok 2 - a chain of stills sitting on a released landed cluster all fall, from rest - 210617:51:13
--- - 210717:51:13
duration_ms: 63.52548 - 210817:51:13
... - 210917:51:13
1..2 - 211017:51:13
ok 56 - Falling must not teleport up through a gap (t1112) - 211117:51:13
--- - 211217:51:13
duration_ms: 64.693333 - 211317:51:13
type: 'suite' - 211417:51:13
... - 211517:51:13
# Subtest: Randomized physics soak (t1112) - 211617:51:13
# Subtest: thousands of ticks of random launches, drags, matches and landings keep the invariants - 211717:51:13
ok 1 - thousands of ticks of random launches, drags, matches and landings keep the invariants - 211817:51:13
--- - 211917:51:13
duration_ms: 3368.772565 - 212017:51:13
... - 212117:51:13
1..1 - 212217:51:13
ok 57 - Randomized physics soak (t1112) - 212317:51:13
--- - 212417:51:13
duration_ms: 3369.044448 - 212517:51:13
type: 'suite' - 212617:51:13
... - 212717:51:13
# Subtest: Planet field and defaults - 212817:51:13
# Subtest: has a 10 by 13 field - 212917:51:13
ok 1 - has a 10 by 13 field - 213017:51:13
--- - 213117:51:13
duration_ms: 2.651012 - 213217:51:13
... - 213317:51:13
# Subtest: default planet is Terra with mid-range physics - 213417:51:13
ok 2 - default planet is Terra with mid-range physics - 213517:51:13
--- - 213617:51:13
duration_ms: 0.231397 - 213717:51:13
... - 213817:51:13
# Subtest: clamps gravity, air and mass to the stage-3 ranges - 213917:51:13
ok 3 - clamps gravity, air and mass to the stage-3 ranges - 214017:51:13
--- - 214117:51:13
duration_ms: 0.350652 - 214217:51:13
... - 214317:51:13
# Subtest: keeps colors and shapes data-driven with a unique shape per color - 214417:51:13
ok 4 - keeps colors and shapes data-driven with a unique shape per color - 214517:51:13
--- - 214617:51:13
duration_ms: 0.30188 - 214717:51:13
... - 214817:51:13
1..4 - 214917:51:13
ok 58 - Planet field and defaults - 215017:51:13
--- - 215117:51:13
duration_ms: 5.089433 - 215217:51:13
type: 'suite' - 215317:51:13
... - 215417:51:13
# Subtest: Jump height rules - 215517:51:13
# Subtest: a horizontal match of 3 uses the base jump height - 215617:51:13
ok 1 - a horizontal match of 3 uses the base jump height - 215717:51:13
--- - 215817:51:13
duration_ms: 0.395867 - 215917:51:13
... - 216017:51:13
# Subtest: a vertical match of 3 is 120% of a horizontal row - 216117:51:13
ok 2 - a vertical match of 3 is 120% of a horizontal row - 216217:51:13
--- - 216317:51:13
duration_ms: 0.18001 - 216417:51:13
... - 216517:51:13
# Subtest: each extra block beyond 3 adds 5% jump height - 216617:51:13
ok 3 - each extra block beyond 3 adds 5% jump height - 216717:51:13
--- - 216817:51:13
duration_ms: 0.201279 - 216917:51:13
... - 217017:51:13
# Subtest: at min gravity (2, t1199) one horizontal-3 jump is 75% of the field - 217117:51:13
ok 4 - at min gravity (2, t1199) one horizontal-3 jump is 75% of the field - 217217:51:13
--- - 217317:51:13
duration_ms: 0.255623 - 217417:51:13
... - 217517:51:13
# Subtest: at max gravity four horizontal-3 jumps equal 1.5 times the field height - 217617:51:13
ok 5 - at max gravity four horizontal-3 jumps equal 1.5 times the field height - 217717:51:13
--- - 217817:51:13
duration_ms: 0.297782 - 217917:51:13
... - 218017:51:13
1..5 - 218117:51:13
ok 59 - Jump height rules - 218217:51:13
--- - 218317:51:13
duration_ms: 1.922438 - 218417:51:13
type: 'suite' - 218517:51:13
... - 218617:51:13
# Subtest: Launch and fall physics parameters - 218717:51:13
# Subtest: a jump of height H peaks in riseTime at constant deceleration - 218817:51:13
ok 1 - a jump of height H peaks in riseTime at constant deceleration - 218917:51:13
--- - 219017:51:13
duration_ms: 0.440762 - 219117:51:13
... - 219217:51:13
# Subtest: apex time is independent of jump height (mass) - 219317:51:13
ok 2 - apex time is independent of jump height (mass) - 219417:51:13
--- - 219517:51:13
duration_ms: 0.278926 - 219617:51:13
... - 219717:51:13
# Subtest: single-block fall speed is field height over fallTime; cluster float-down is half (t1124) - 219817:51:13
ok 3 - single-block fall speed is field height over fallTime; cluster float-down is half (t1124) - 219917:51:13
--- - 220017:51:13
duration_ms: 0.258017 - 220117:51:13
... - 220217:51:13
1..3 - 220317:51:13
ok 60 - Launch and fall physics parameters - 220417:51:13
--- - 220517:51:13
duration_ms: 1.233558 - 220617:51:13
type: 'suite' - 220717:51:13
... - 220817:51:13
# Subtest: Power and display values - 220917:51:13
# Subtest: easiest planet (gravity 2 since t1199) has power 1/9, ~54% miss, shown as 10% - 221017:51:13
ok 1 - easiest planet (gravity 2 since t1199) has power 1/9, ~54% miss, shown as 10% - 221117:51:13
--- - 221217:51:13
duration_ms: 0.34412 - 221317:51:13
... - 221417:51:13
# Subtest: hardest planet has power 1 and 5% miss chance - 221517:51:13
ok 2 - hardest planet has power 1 and 5% miss chance - 221617:51:13
--- - 221717:51:13
duration_ms: 0.211439 - 221817:51:13
... - 221917:51:13
# Subtest: display values are numeric gravity, density, newtons and power % - 222017:51:13
ok 3 - display values are numeric gravity, density, newtons and power % - 222117:51:13
--- - 222217:51:13
duration_ms: 1.902159 - 222317:51:13
... - 222417:51:13
# Subtest: displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power - 222517:51:13
ok 4 - displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power - 222617:51:13
--- - 222717:51:13
duration_ms: 0.387491 - 222817:51:13
... - 222917:51:13
1..4 - 223017:51:13
ok 61 - Power and display values - 223117:51:13
--- - 223217:51:13
duration_ms: 3.213803 - 223317:51:13
type: 'suite' - 223417:51:13
... - 223517:51:13
# Subtest: Planet catalog - 223617:51:13
# Subtest: has 8–12 named worlds, each with a people name and five unique shapes - 223717:51:13
ok 1 - has 8–12 named worlds, each with a people name and five unique shapes - 223817:51:13
--- - 223917:51:13
duration_ms: 0.706092 - 224017:51:13
... - 224117:51:13
# Subtest: Aurel is the easiest (gravity 2 since t1199: Power 1/9, shown as 10%) and Cinder the hardest (gameplay Power 1, 5% miss, shown as 92%) - 224217:51:13
ok 2 - Aurel is the easiest (gravity 2 since t1199: Power 1/9, shown as 10%) and Cinder the hardest (gameplay Power 1, 5% miss, shown as 92%) - 224317:51:13
--- - 224417:51:13
duration_ms: 0.463244 - 224517:51:13
... - 224617:51:13
1..2 - 224717:51:13
ok 62 - Planet catalog - 224817:51:13
--- - 224917:51:13
duration_ms: 1.330411 - 225017:51:13
type: 'suite' - 225117:51:13
... - 225217:51:13
# Subtest: Gravity minimum and percentage display (t1199) - 225317:51:13
# Subtest: constants: range 2..4, 9.81 g at 100% - 225417:51:13
ok 1 - constants: range 2..4, 9.81 g at 100% - 225517:51:13
--- - 225617:51:13
duration_ms: 0.259179 - 225717:51:13
... - 225817:51:13
# Subtest: percentage is linear: (v − 1)·100, so 2 → 100%, 3 → 200%, 4 → 300% - 225917:51:13
ok 2 - percentage is linear: (v − 1)·100, so 2 → 100%, 3 → 200%, 4 → 300% - 226017:51:13
--- - 226117:51:13
duration_ms: 0.149783 - 226217:51:13
... - 226317:51:13
# Subtest: g follows the percentage: 9.81·(v − 1) - 226417:51:13
ok 3 - g follows the percentage: 9.81·(v − 1) - 226517:51:13
--- - 226617:51:13
duration_ms: 0.220737 - 226717:51:13
... - 226817:51:13
# Subtest: stats text shows "g 100% (9.81g)" for Terra and 300% for Cinder - 226917:51:13
ok 4 - stats text shows "g 100% (9.81g)" for Terra and 300% for Cinder - 227017:51:13
--- - 227117:51:13
duration_ms: 0.307851 - 227217:51:13
... - 227317:51:13
# Subtest: every standard planet has gravity ≥ 2 - 227417:51:13
ok 5 - every standard planet has gravity ≥ 2 - 227517:51:13
--- - 227617:51:13
duration_ms: 0.475357 - 227717:51:13
... - 227817:51:13
# Subtest: a saved custom planet below 2 loads as 2 - 227917:51:13
ok 6 - a saved custom planet below 2 loads as 2 - 228017:51:13
--- - 228117:51:13
duration_ms: 0.166113 - 228217:51:13
... - 228317:51:13
# Subtest: i18n has stats.gravity in every language - 228417:51:13
ok 7 - i18n has stats.gravity in every language - 228517:51:13
--- - 228617:51:13
duration_ms: 3.278495 - 228717:51:13
... - 228817:51:13
1..7 - 228917:51:13
ok 63 - Gravity minimum and percentage display (t1199) - 229017:51:13
--- - 229117:51:13
duration_ms: 5.297315 - 229217:51:13
type: 'suite' - 229317:51:13
... - 229417:51:13
# Subtest: Points, landing and recolor - 229517:51:13
# Subtest: blocks that leave the top of the field become one point each and are gone - 229617:51:13
ok 1 - blocks that leave the top of the field become one point each and are gone - 229717:51:13
--- - 229817:51:13
duration_ms: 97.407118 - 229917:51:13
... - 230017:51:13
# Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 230117:51:13
ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 230217:51:13
--- - 230317:51:13
duration_ms: 101.982551 - 230417:51:13
... - 230517:51:13
# Subtest: carried colored blocks keep their color and stay in the rigid group until greys convert - 230617:51:13
ok 3 - carried colored blocks keep their color and stay in the rigid group until greys convert - 230717:51:13
--- - 230817:51:13
duration_ms: 86.801807 - 230917:51:13
... - 231017:51:13
# Subtest: spawn drops a random color into a random open column every second - 231117:51:13
ok 4 - spawn drops a random color into a random open column every second - 231217:51:13
--- - 231317:51:13
duration_ms: 16.52525 - 231417:51:13
... - 231517:51:13
1..4 - 231617:51:13
ok 64 - Points, landing and recolor - 231717:51:13
--- - 231817:51:13
duration_ms: 304.507575 - 231917:51:13
type: 'suite' - 232017:51:13
... - 232117:51:13
# Subtest: Push-up and chain re-launch - 232217:51:13
# Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 232317:51:13
ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 232417:51:13
--- - 232517:51:13
duration_ms: 8.987868 - 232617:51:13
... - 232717:51:13
# Subtest: a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 232817:51:13
ok 2 - a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 232917:51:13
--- - 233017:51:13
duration_ms: 4.872864 - 233117:51:13
... - 233217:51:13
# Subtest: if a re-launch sends every block off the top, that is fine and they become points - 233317:51:13
ok 3 - if a re-launch sends every block off the top, that is fine and they become points - 233417:51:13
--- - 233517:51:13
duration_ms: 65.222392 - 233617:51:13
... - 233717:51:13
# Subtest: gray blocks can also disappear off the top and score points - 233817:51:13
ok 4 - gray blocks can also disappear off the top and score points - 233917:51:13
--- - 234017:51:13
duration_ms: 5.125531 - 234117:51:13
... - 234217:51:13
1..4 - 234317:51:13
ok 65 - Push-up and chain re-launch - 234417:51:13
--- - 234517:51:13
duration_ms: 86.095596 - 234617:51:13
type: 'suite' - 234717:51:13
... - 234817:51:13
# Subtest: Reward spawn schedule (t1194: 3 blocks/s, last block at 4 s) - 234917:51:13
# Subtest: constants and per-reward acceleration a = 2((n−1) − 3·4) / 4² - 235017:51:13
ok 1 - constants and per-reward acceleration a = 2((n−1) − 3·4) / 4² - 235117:51:13
--- - 235217:51:13
duration_ms: 1.9291 - 235317:51:13
... - 235417:51:13
# Subtest: the last block always leaves at 4 s, whatever the point count - 235517:51:13
ok 2 - the last block always leaves at 4 s, whatever the point count - 235617:51:13
--- - 235717:51:13
duration_ms: 0.578762 - 235817:51:13
... - 235917:51:13
# Subtest: block i leaves when 3t + a·t²/2 = i; starts at 3/s and accelerates - 236017:51:13
ok 3 - block i leaves when 3t + a·t²/2 = i; starts at 3/s and accelerates - 236117:51:13
--- - 236217:51:13
duration_ms: 1.669199 - 236317:51:13
... - 236417:51:13
# Subtest: spawnedBy matches floor(r0·t + a·t²/2) + 1, capped by n - 236517:51:13
ok 4 - spawnedBy matches floor(r0·t + a·t²/2) + 1, capped by n - 236617:51:13
--- - 236717:51:13
duration_ms: 0.429761 - 236817:51:13
... - 236917:51:13
# Subtest: measured end times through the real sequence (60 fps): ~4 s for 5…2000 points - 237017:51:13
ok 5 - measured end times through the real sequence (60 fps): ~4 s for 5…2000 points - 237117:51:13
--- - 237217:51:13
duration_ms: 6.868299 - 237317:51:13
... - 237417:51:13
1..5 - 237517:51:13
ok 66 - Reward spawn schedule (t1194: 3 blocks/s, last block at 4 s) - 237617:51:13
--- - 237717:51:13
duration_ms: 15.692649 - 237817:51:13
type: 'suite' - 237917:51:13
... - 238017:51:13
# Subtest: Reward sequence (t1173) - 238117:51:13
# Subtest: 500 + 253 → counts every point from 500 up to 753 (last block at 4 s) - 238217:51:13
ok 1 - 500 + 253 → counts every point from 500 up to 753 (last block at 4 s) - 238317:51:13
--- - 238417:51:13
duration_ms: 1.694267 - 238517:51:13
... - 238617:51:13
# Subtest: phases run intro → rise → wait → count → hold → done - 238717:51:13
ok 2 - phases run intro → rise → wait → count → hold → done - 238817:51:13
--- - 238917:51:13
duration_ms: 0.49825 - 239017:51:13
... - 239117:51:13
# Subtest: title stays centred for one second before rising - 239217:51:13
ok 3 - title stays centred for one second before rising - 239317:51:13
--- - 239417:51:13
duration_ms: 0.192773 - 239517:51:13
... - 239617:51:13
# Subtest: nothing is counted before the server result arrives - 239717:51:13
ok 4 - nothing is counted before the server result arrives - 239817:51:13
--- - 239917:51:13
duration_ms: 0.435381 - 240017:51:13
... - 240117:51:13
# Subtest: earned 0 shows the number briefly, no blocks - 240217:51:13
ok 5 - earned 0 shows the number briefly, no blocks - 240317:51:13
--- - 240417:51:14
duration_ms: 0.415053 - 240517:51:14
... - 240617:51:14
# Subtest: server failure: no count, still continues - 240717:51:14
ok 6 - server failure: no count, still continues - 240817:51:14
--- - 240917:51:14
duration_ms: 0.257475 - 241017:51:14
... - 241117:51:14
# Subtest: no answer at all times out and continues - 241217:51:14
ok 7 - no answer at all times out and continues - 241317:51:14
--- - 241417:51:14
duration_ms: 0.353627 - 241517:51:14
... - 241617:51:14
# Subtest: before > after or a missing before is clamped (never counts down) - 241717:51:14
ok 8 - before > after or a missing before is clamped (never counts down) - 241817:51:14
--- - 241917:51:14
duration_ms: 0.210497 - 242017:51:14
... - 242117:51:14
# Subtest: a huge frame (tab in background) still lands exactly on the total - 242217:51:14
ok 9 - a huge frame (tab in background) still lands exactly on the total - 242317:51:14
--- - 242417:51:14
duration_ms: 0.309564 - 242517:51:14
... - 242617:51:14
# Subtest: only the hold phase can be finished early (tap to continue), not the count - 242717:51:14
ok 10 - only the hold phase can be finished early (tap to continue), not the count - 242817:51:14
--- - 242917:51:14
duration_ms: 0.279758 - 243017:51:14
... - 243117:51:14
1..10 - 243217:51:14
ok 67 - Reward sequence (t1173) - 243317:51:14
--- - 243417:51:14
duration_ms: 5.356216 - 243517:51:14
type: 'suite' - 243617:51:14
... - 243717:51:14
# Subtest: Rng - 243817:51:14
# Subtest: is deterministic for the same seed - 243917:51:14
ok 1 - is deterministic for the same seed - 244017:51:14
--- - 244117:51:14
duration_ms: 1.873966 - 244217:51:14
... - 244317:51:14
# Subtest: differs across seeds and stays in [0, 1) - 244417:51:14
ok 2 - differs across seeds and stays in [0, 1) - 244517:51:14
--- - 244617:51:14
duration_ms: 0.803295 - 244717:51:14
... - 244817:51:14
# Subtest: pickIndex stays inside the range - 244917:51:14
ok 3 - pickIndex stays inside the range - 245017:51:14
--- - 245117:51:14
duration_ms: 0.468945 - 245217:51:14
... - 245317:51:14
1..3 - 245417:51:14
ok 68 - Rng - 245517:51:14
--- - 245617:51:14
duration_ms: 4.776112 - 245717:51:14
type: 'suite' - 245817:51:14
... - 245917:51:14
# Subtest: Cell-based grab picking (t1109) - 246017:51:14
# Subtest: a press anywhere inside the cell, including each corner, grabs that block - 246117:51:14
ok 1 - a press anywhere inside the cell, including each corner, grabs that block - 246217:51:14
--- - 246317:51:14
duration_ms: 3.017523 - 246417:51:14
... - 246517:51:14
# Subtest: a press in the padding / gap of a cell still grabs the occupant (not the sprite box) - 246617:51:14
ok 2 - a press in the padding / gap of a cell still grabs the occupant (not the sprite box) - 246717:51:14
--- - 246817:51:14
duration_ms: 0.419872 - 246917:51:14
... - 247017:51:14
# Subtest: when a block is mid-animation (non-integer y), the nearest in the column within half a tile is grabbed - 247117:51:14
ok 3 - when a block is mid-animation (non-integer y), the nearest in the column within half a tile is grabbed - 247217:51:14
--- - 247317:51:14
duration_ms: 0.545139 - 247417:51:14
... - 247517:51:14
# Subtest: floor of the pointer chooses the cell; the cell above is a different block - 247617:51:14
ok 4 - floor of the pointer chooses the cell; the cell above is a different block - 247717:51:14
--- - 247817:51:14
duration_ms: 1.801078 - 247917:51:14
... - 248017:51:14
1..4 - 248117:51:14
ok 69 - Cell-based grab picking (t1109) - 248217:51:14
--- - 248317:51:14
duration_ms: 8.033096 - 248417:51:14
type: 'suite' - 248517:51:14
... - 248617:51:14
# Subtest: Spawn speed-up (t1187/t1188) - 248717:51:14
# Subtest: constants: start 1 s, factor 0.997, floor 0.1 s - 248817:51:14
ok 1 - constants: start 1 s, factor 0.997, floor 0.1 s - 248917:51:14
--- - 249017:51:14
duration_ms: 1.562017 - 249117:51:14
... - 249217:51:14
# Subtest: every spawned block multiplies the interval by 0.997 - 249317:51:14
ok 2 - every spawned block multiplies the interval by 0.997 - 249417:51:14
--- - 249517:51:14
duration_ms: 0.681666 - 249617:51:14
... - 249717:51:14
# Subtest: no spawn (no open column) → no speed-up - 249817:51:14
ok 3 - no spawn (no open column) → no speed-up - 249917:51:14
--- - 250017:51:14
duration_ms: 0.325333 - 250117:51:14
... - 250217:51:14
# Subtest: floors at 0.1 s after ~767 spawns - 250317:51:14
ok 4 - floors at 0.1 s after ~767 spawns - 250417:51:14
--- - 250517:51:14
duration_ms: 3.066757 - 250617:51:14
... - 250717:51:14
# Subtest: the game tick spawns faster over time (driven by the same logic) - 250817:51:14
ok 5 - the game tick spawns faster over time (driven by the same logic) - 250917:51:14
--- - 251017:51:14
duration_ms: 97.640758 - 251117:51:14
... - 251217:51:14
# Subtest: a new game (new core) starts again at 1 s - 251317:51:14
ok 6 - a new game (new core) starts again at 1 s - 251417:51:14
--- - 251517:51:14
duration_ms: 0.24346 - 251617:51:14
... - 251717:51:14
1..6 - 251817:51:14
ok 70 - Spawn speed-up (t1187/t1188) - 251917:51:14
--- - 252017:51:14
duration_ms: 105.049988 - 252117:51:14
type: 'suite' - 252217:51:14
... - 252317:51:14
# Subtest: Spawn timeline (t1189/t1191) - 252417:51:14
# Subtest: constants - 252517:51:14
ok 1 - constants - 252617:51:14
--- - 252717:51:14
duration_ms: 53.744305 - 252817:51:14
... - 252917:51:14
# Subtest: interval: 0.1 s until 3 s, linear to 1 s at 6 s, then the per-spawn rate - 253017:51:14
ok 2 - interval: 0.1 s until 3 s, linear to 1 s at 6 s, then the per-spawn rate - 253117:51:14
--- - 253217:51:14
duration_ms: 0.845686 - 253317:51:14
... - 253417:51:14
# Subtest: no speed-up from blocks spawned before 6 s; after 6 s each spawn ×0.997 - 253517:51:14
ok 3 - no speed-up from blocks spawned before 6 s; after 6 s each spawn ×0.997 - 253617:51:14
--- - 253717:51:14
duration_ms: 1.016969 - 253817:51:14
... - 253917:51:14
# Subtest: the real tick follows the timeline; play time starts at the first tick - 254017:51:14
ok 4 - the real tick follows the timeline; play time starts at the first tick - 254117:51:14
--- - 254217:51:14
duration_ms: 14.33109 - 254317:51:14
... - 254417:51:14
# Subtest: first 6 s of a normal game: how many blocks really spawn - 254517:51:14
ok 5 - first 6 s of a normal game: how many blocks really spawn - 254617:51:14
--- - 254717:51:14
duration_ms: 207.136205 - 254817:51:14
... - 254917:51:14
# Subtest: burst column choice is weighted towards emptier columns - 255017:51:14
ok 6 - burst column choice is weighted towards emptier columns - 255117:51:14
--- - 255217:51:14
duration_ms: 14.655262 - 255317:51:14
... - 255417:51:14
# Subtest: the departing-rocket rule still applies during the burst - 255517:51:14
ok 7 - the departing-rocket rule still applies during the burst - 255617:51:14
--- - 255717:51:14
duration_ms: 5.770719 - 255817:51:14
... - 255917:51:14
# Subtest: spawning switched off by tools/tests (interval above 1 s) stays off in the burst - 256017:51:14
ok 8 - spawning switched off by tools/tests (interval above 1 s) stays off in the burst - 256117:51:14
--- - 256217:51:14
duration_ms: 1.937485 - 256317:51:14
... - 256417:51:14
# Subtest: opening: a column takes the next block once the previous one cleared a cell; later one at a time - 256517:51:14
ok 9 - opening: a column takes the next block once the previous one cleared a cell; later one at a time - 256617:51:14
--- - 256717:51:14
duration_ms: 0.33371 - 256817:51:14
... - 256917:51:14
# Subtest: a full game through the burst keeps the physics invariants (strict mode) - 257017:51:14
ok 10 - a full game through the burst keeps the physics invariants (strict mode) - 257117:51:14
--- - 257217:51:14
duration_ms: 433.618762 - 257317:51:14
... - 257417:51:14
1..10 - 257517:51:14
ok 71 - Spawn timeline (t1189/t1191) - 257617:51:14
--- - 257717:51:14
duration_ms: 735.384324 - 257817:51:14
type: 'suite' - 257917:51:14
... - 258017:51:14
# Subtest: Spontaneous matches always become rockets (t1104) - 258117:51:14
# Subtest: a row that forms on the ground after a block falls launches like a player match - 258217:51:14
ok 1 - a row that forms on the ground after a block falls launches like a player match - 258317:51:14
--- - 258417:51:14
duration_ms: 17.734031 - 258517:51:14
... - 258617:51:14
# Subtest: a row that appears after grey settle and recolor launches - 258717:51:14
ok 2 - a row that appears after grey settle and recolor launches - 258817:51:14
--- - 258917:51:14
duration_ms: 75.155273 - 259017:51:14
... - 259117:51:14
# Subtest: a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster - 259217:51:14
ok 3 - a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster - 259317:51:14
--- - 259417:51:14
duration_ms: 9.930166 - 259517:51:14
... - 259617:51:14
# Subtest: a match that appears when two flying clusters merge greys the line and re-launches - 259717:51:14
ok 4 - a match that appears when two flying clusters merge greys the line and re-launches - 259817:51:14
--- - 259917:51:14
duration_ms: 0.881834 - 260017:51:14
... - 260117:51:14
1..4 - 260217:51:14
ok 72 - Spontaneous matches always become rockets (t1104) - 260317:51:14
--- - 260417:51:14
duration_ms: 105.612229 - 260517:51:14
type: 'suite' - 260617:51:14
... - 260717:51:14
# Subtest: Swap events (t1121) - 260817:51:14
# Subtest: swapBlocks records visual events and consumeSwapEvents clears them - 260917:51:14
ok 1 - swapBlocks records visual events and consumeSwapEvents clears them - 261017:51:14
--- - 261117:51:14
duration_ms: 1.735274 - 261217:51:14
... - 261317:51:14
# Subtest: rapid multi-cell swapToward records a chain of events (logic already at the final cell) - 261417:51:14
ok 2 - rapid multi-cell swapToward records a chain of events (logic already at the final cell) - 261517:51:14
--- - 261617:51:14
duration_ms: 0.430332 - 261717:51:14
... - 261817:51:14
# Subtest: the invariant checker is unaffected by swap events (grid is already updated) - 261917:51:14
ok 3 - the invariant checker is unaffected by swap events (grid is already updated) - 262017:51:14
--- - 262117:51:14
duration_ms: 0.595333 - 262217:51:14
... - 262317:51:14
1..3 - 262417:51:14
ok 73 - Swap events (t1121) - 262517:51:14
--- - 262617:51:14
duration_ms: 4.354426 - 262717:51:14
type: 'suite' - 262817:51:14
... - 262917:51:14
# Subtest: Vertical swapping - 263017:51:14
# Subtest: dragging a block through a column swaps it with the blocks it passes - 263117:51:14
ok 1 - dragging a block through a column swaps it with the blocks it passes - 263217:51:14
--- - 263317:51:14
duration_ms: 3.057469 - 263417:51:14
... - 263517:51:14
# Subtest: swapTo moves a block stepwise and exchanges neighbors - 263617:51:14
ok 2 - swapTo moves a block stepwise and exchanges neighbors - 263717:51:14
--- - 263817:51:14
duration_ms: 2.042364 - 263917:51:14
... - 264017:51:14
# Subtest: refuses to drag in a locked or flying column - 264117:51:14
ok 3 - refuses to drag in a locked or flying column - 264217:51:14
--- - 264317:51:14
duration_ms: 1.698304 - 264417:51:14
... - 264517:51:14
# Subtest: pulling a top block further up starts a manual launch that cannot leave the field - 264617:51:14
ok 4 - pulling a top block further up starts a manual launch that cannot leave the field - 264717:51:14
--- - 264817:51:14
duration_ms: 15.409344 - 264917:51:14
... - 265017:51:14
# Subtest: a manual jump from mid-stack still caps at the top cell - 265117:51:14
ok 5 - a manual jump from mid-stack still caps at the top cell - 265217:51:14
--- - 265317:51:14
duration_ms: 17.232635 - 265417:51:14
... - 265517:51:14
# Subtest: a click in the lower half of a cell grabs that cell, not the one above - 265617:51:14
ok 6 - a click in the lower half of a cell grabs that cell, not the one above - 265717:51:14
--- - 265817:51:14
duration_ms: 3.861476 - 265917:51:17
... - 266017:51:17
1..6 - 266117:51:17
ok 74 - Vertical swapping - 266217:51:17
--- - 266317:51:17
duration_ms: 45.17676 - 266417:51:17
type: 'suite' - 266517:51:17
... - 266617:51:17
# Subtest: Manual launch of the already-topmost block - 266717:51:17
# Subtest: dragging the top block upward past its own position starts a manual jump - 266817:51:17
ok 1 - dragging the top block upward past its own position starts a manual jump - 266917:51:17
--- - 267017:51:17
duration_ms: 53.786264 - 267117:51:17
... - 267217:51:17
# Subtest: a short upward twitch below LAUNCH_PULL does not launch - 267317:51:17
ok 2 - a short upward twitch below LAUNCH_PULL does not launch - 267417:51:17
--- - 267517:51:17
duration_ms: 0.45593 - 267617:51:17
... - 267717:51:17
# Subtest: dragging a mid-stack block up to the top still swaps instead of launching - 267817:51:17
ok 3 - dragging a mid-stack block up to the top still swaps instead of launching - 267917:51:17
--- - 268017:51:17
duration_ms: 0.653172 - 268117:51:17
... - 268217:51:17
# Subtest: after a mid-stack block becomes the top, a further pull into empty space still launches - 268317:51:17
ok 4 - after a mid-stack block becomes the top, a further pull into empty space still launches - 268417:51:17
--- - 268517:51:17
duration_ms: 0.284156 - 268617:51:17
... - 268717:51:17
1..4 - 268817:51:17
ok 75 - Manual launch of the already-topmost block - 268917:51:17
--- - 269017:51:17
duration_ms: 55.682061 - 269117:51:17
type: 'suite' - 269217:51:17
... - 269317:51:17
# Subtest: Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104) - 269417:51:17
# Subtest: grabs instantly on beginDrag with no hold delay or elapsed time - 269517:51:17
ok 1 - grabs instantly on beginDrag with no hold delay or elapsed time - 269617:51:17
--- - 269717:51:17
duration_ms: 0.836448 - 269817:51:17
... - 269917:51:17
# Subtest: snaps to the nearest still block when the press is slightly outside it - 270017:51:17
ok 2 - snaps to the nearest still block when the press is slightly outside it - 270117:51:17
--- - 270217:51:17
duration_ms: 0.36067 - 270317:51:17
... - 270417:51:17
# Subtest: horizontal slop grabs a neighbouring column when the press is near the edge - 270517:51:17
ok 3 - horizontal slop grabs a neighbouring column when the press is near the edge - 270617:51:17
--- - 270717:51:17
duration_ms: 0.355811 - 270817:51:17
... - 270917:51:17
# Subtest: a slightly diagonal drag stays in the starting column - 271017:51:17
ok 4 - a slightly diagonal drag stays in the starting column - 271117:51:17
--- - 271217:51:17
duration_ms: 0.308683 - 271317:51:17
... - 271417:51:17
# Subtest: a short move that stays inside the same cell does not swap - 271517:51:17
ok 5 - a short move that stays inside the same cell does not swap - 271617:51:17
--- - 271717:51:17
duration_ms: 0.230285 - 271817:51:17
... - 271917:51:17
# Subtest: a 1-tile downward drag swaps exactly one step and stops when the pointer stops - 272017:51:17
ok 6 - a 1-tile downward drag swaps exactly one step and stops when the pointer stops - 272117:51:17
--- - 272217:51:17
duration_ms: 0.253628 - 272317:51:17
... - 272417:51:17
# Subtest: a 1-tile upward drag swaps exactly one step and stops when the pointer stops - 272517:51:17
ok 7 - a 1-tile upward drag swaps exactly one step and stops when the pointer stops - 272617:51:17
--- - 272717:51:17
duration_ms: 0.368576 - 272817:51:17
... - 272917:51:17
# Subtest: a 2-tile drag then stop leaves the block on the row under the pointer - 273017:51:17
ok 8 - a 2-tile drag then stop leaves the block on the row under the pointer - 273117:51:17
--- - 273217:51:17
duration_ms: 0.37074 - 273317:51:17
... - 273417:51:17
# Subtest: a fast swipe of several tiles swaps through every block and does not skip - 273517:51:17
ok 9 - a fast swipe of several tiles swaps through every block and does not skip - 273617:51:17
--- - 273717:51:17
duration_ms: 0.272404 - 273817:51:17
... - 273917:51:17
1..9 - 274017:51:17
ok 76 - Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104) - 274117:51:17
--- - 274217:51:17
duration_ms: 3.882676 - 274317:51:17
type: 'suite' - 274417:51:17
... - 274517:51:17
1..76 - 274617:51:17
# tests 347 - 274717:51:17
# suites 76 - 274817:51:17
# pass 346 - 274917:51:17
# fail 1 - 275017:51:17
# cancelled 0 - 275117:51:17
# skipped 0 - 275217:51:17
# todo 0 - 275317:51:17
# duration_ms 4675.183352
275417:51:17
container ended with an error: exit status 1