BlueGit

projects-timfalken-com meteors

unit_tests

Pipelines Pipeline Editor

Failed Started 1 day ago by timfa

Raw

Running on Steve

Log timestamps in UTC.

  1. 117:51:00Using docker image node:20-bookworm ...
  2. 217:51:00Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 317:51:00Running on Steve via BlueGit...
  2. 417:51:00Working directory: /workspace
  3. 517:51:00Pipeline #780, job #3056
  1. 617:51:03debconf: delaying package configuration, since apt-utils is not installed
  2. 717:51:08TAP version 13
  3. 817:51:08# Subtest: Block registry (t1139)
  4. 917:51:08 # Subtest: loads the append-only registry with Terra first
  5. 1017:51:08 ok 1 - loads the append-only registry with Terra first
  6. 1117:51:08 ---
  7. 1217:51:08 duration_ms: 1.846134
  8. 1317:51:08 ...
  9. 1417:51:08 # Subtest: Terra is free, the next block is 500, then 14.5% more and strictly increasing
  10. 1517:51:08 ok 2 - Terra is free, the next block is 500, then 14.5% more and strictly increasing
  11. 1617:51:08 ---
  12. 1717:51:08 duration_ms: 2.7136
  13. 1817:51:08 ...
  14. 1917:51:08 # Subtest: unlock is a requirement, not a spend
  15. 2017:51:08 ok 3 - unlock is a requirement, not a spend
  16. 2117:51:08 ---
  17. 2217:51:08 duration_ms: 0.266613
  18. 2317:51:08 ...
  19. 2417:51:08 # Subtest: present() marks each block with threshold and unlock state
  20. 2517:51:08 ok 4 - present() marks each block with threshold and unlock state
  21. 2617:51:08 ---
  22. 2717:51:08 duration_ms: 0.962306
  23. 2817:51:08 ...
  24. 2917:51:08 # Subtest: asColor() fills a planet slot from a registry id
  25. 3017:51:08 ok 5 - asColor() fills a planet slot from a registry id
  26. 3117:51:08 ---
  27. 3217:51:08 duration_ms: 0.293002
  28. 3317:51:08 ...
  29. 3417:51:08 # Subtest: every registry image file exists on disk
  30. 3517:51:08 ok 6 - every registry image file exists on disk
  31. 3617:51:08 ---
  32. 3717:51:08 duration_ms: 1.871501
  33. 3817:51:08 ...
  34. 3917:51:08 1..6
  35. 4017:51:08ok 1 - Block registry (t1139)
  36. 4117:51:08 ---
  37. 4217:51:08 duration_ms: 9.793348
  38. 4317:51:08 type: 'suite'
  39. 4417:51:08 ...
  40. 4517:51:08# Subtest: Custom planets in the picker (t1140)
  41. 4617:51:08 # Subtest: allPlanets and pickerPlanets include owned customs, officialPlanets does not
  42. 4717:51:08 ok 1 - allPlanets and pickerPlanets include owned customs, officialPlanets does not
  43. 4817:51:08 ---
  44. 4917:51:08 duration_ms: 3.068059
  45. 5017:51:08 ...
  46. 5117:51:08 # Subtest: rememberPlanet is used for opponents and is not in the picker
  47. 5217:51:08 ok 2 - rememberPlanet is used for opponents and is not in the picker
  48. 5317:51:08 ---
  49. 5417:51:08 duration_ms: 0.506115
  50. 5517:51:08 ...
  51. 5617:51:08 # Subtest: spriteKey for a registry colour uses the preloaded block: id
  52. 5717:51:08 ok 3 - spriteKey for a registry colour uses the preloaded block: id
  53. 5817:51:08 ---
  54. 5917:51:08 duration_ms: 0.415454
  55. 6017:51:08 ...
  56. 6117:51:08 1..3
  57. 6217:51:08ok 2 - Custom planets in the picker (t1140)
  58. 6317:51:08 ---
  59. 6417:51:08 duration_ms: 4.51051
  60. 6517:51:08 type: 'suite'
  61. 6617:51:08 ...
  62. 6717:51:08# Subtest: Designer draft uses the existing Power formula
  63. 6817:51:08 # Subtest: displayPower matches Planet.displayPower on a draft
  64. 6917:51:08 ok 1 - displayPower matches Planet.displayPower on a draft
  65. 7017:51:08 ---
  66. 7117:51:08 duration_ms: 0.424621
  67. 7217:51:08 ...
  68. 7317:51:08 # Subtest: Designer.defaultSlots returns Terra's five
  69. 7417:51:08 ok 2 - Designer.defaultSlots returns Terra's five
  70. 7517:51:08 ---
  71. 7617:51:08 duration_ms: 0.433107
  72. 7717:51:08 ...
  73. 7817:51:08 1..2
  74. 7917:51:08ok 3 - Designer draft uses the existing Power formula
  75. 8017:51:08 ---
  76. 8117:51:08 duration_ms: 1.073606
  77. 8217:51:08 type: 'suite'
  78. 8317:51:08 ...
  79. 8417:51:08# Subtest: Cluster float-down is halved, single-block fall is not (t1124)
  80. 8517:51:08 # Subtest: a newly spawned block falls at the full fallSpeed
  81. 8617:51:08 ok 1 - a newly spawned block falls at the full fallSpeed
  82. 8717:51:08 ---
  83. 8817:51:08 duration_ms: 6.117633
  84. 8917:51:08 ...
  85. 9017:51:08 # Subtest: unsupported and ingested garbage fall at the full fallSpeed
  86. 9117:51:08 ok 2 - unsupported and ingested garbage fall at the full fallSpeed
  87. 9217:51:08 ---
  88. 9317:51:08 duration_ms: 5.433933
  89. 9417:51:08 ...
  90. 9517:51:08 # Subtest: a launched cluster eases into the halved clusterFallSpeed, not fallSpeed
  91. 9617:51:08 ok 3 - a launched cluster eases into the halved clusterFallSpeed, not fallSpeed
  92. 9717:51:08 ---
  93. 9817:51:08 duration_ms: 76.94005
  94. 9917:51:08 ...
  95. 10017:51:08 # Subtest: a manual jump comes down at the full fallSpeed
  96. 10117:51:08 ok 4 - a manual jump comes down at the full fallSpeed
  97. 10217:51:08 ---
  98. 10317:51:08 duration_ms: 11.026394
  99. 10417:51:08 ...
  100. 10517:51:08 # Subtest: cargo riding a descending cluster shares the halved float-down
  101. 10617:51:08 ok 5 - cargo riding a descending cluster shares the halved float-down
  102. 10717:51:08 ---
  103. 10817:51:08 duration_ms: 76.746636
  104. 10917:51:08 ...
  105. 11017:51:08 1..5
  106. 11117:51:08ok 4 - Cluster float-down is halved, single-block fall is not (t1124)
  107. 11217:51:08 ---
  108. 11317:51:08 duration_ms: 178.301109
  109. 11417:51:08 type: 'suite'
  110. 11517:51:08 ...
  111. 11617:51:08# Subtest: Flying cluster merge (t1102)
  112. 11717:51:08 # Subtest: merges two overlapping flying clusters and averages vy by block count
  113. 11817:51:08 ok 1 - merges two overlapping flying clusters and averages vy by block count
  114. 11917:51:08 ---
  115. 12017:51:08 duration_ms: 2.993889
  116. 12117:51:08 ...
  117. 12217:51:08 # Subtest: merged cluster then moves as one with the averaged velocity
  118. 12317:51:08 ok 2 - merged cluster then moves as one with the averaged velocity
  119. 12417:51:08 ---
  120. 12517:51:08 duration_ms: 0.955863
  121. 12617:51:08 ...
  122. 12717:51:08 # Subtest: merged vy <= 0 sets phase to down
  123. 12817:51:08 ok 3 - merged vy <= 0 sets phase to down
  124. 12917:51:08 ---
  125. 13017:51:08 duration_ms: 0.702405
  126. 13117:51:08 ...
  127. 13217:51:08 # Subtest: does not merge clusters that do not overlap
  128. 13317:51:08 ok 4 - does not merge clusters that do not overlap
  129. 13417:51:08 ---
  130. 13517:51:08 duration_ms: 0.284917
  131. 13617:51:08 ...
  132. 13717:51:08 # Subtest: two approaching clusters merge mid-flight during a tick
  133. 13817:51:08 ok 5 - two approaching clusters merge mid-flight during a tick
  134. 13917:51:08 ---
  135. 14017:51:08 duration_ms: 62.13693
  136. 14117:51:08 ...
  137. 14217:51:08 1..5
  138. 14317:51:08ok 5 - Flying cluster merge (t1102)
  139. 14417:51:08 ---
  140. 14517:51:08 duration_ms: 68.884531
  141. 14617:51:08 type: 'suite'
  142. 14717:51:08 ...
  143. 14817:51:08# Subtest: Column fill warning (t1123)
  144. 14917:51:08 # Subtest: pulses at 10 grounded rows (at least 70% of 13) and not at 9
  145. 15017:51:08 ok 1 - pulses at 10 grounded rows (at least 70% of 13) and not at 9
  146. 15117:51:08 ---
  147. 15217:51:08 duration_ms: 3.150254
  148. 15317:51:08 ...
  149. 15417:51:08 # Subtest: flying, falling and manual blocks do not count; settling and locked do
  150. 15517:51:08 ok 2 - flying, falling and manual blocks do not count; settling and locked do
  151. 15617:51:08 ---
  152. 15717:51:08 duration_ms: 0.320184
  153. 15817:51:08 ...
  154. 15917:51:08 # Subtest: warnColumnsFromSnapshot agrees with the live field and ignores flying
  155. 16017:51:08 ok 3 - warnColumnsFromSnapshot agrees with the live field and ignores flying
  156. 16117:51:08 ---
  157. 16217:51:08 duration_ms: 0.608648
  158. 16317:51:08 ...
  159. 16417:51:08 # Subtest: columnWarnPulse is a sine in a cheap 0.16–0.44 alpha band
  160. 16517:51:08 ok 4 - columnWarnPulse is a sine in a cheap 0.16–0.44 alpha band
  161. 16617:51:08 ---
  162. 16717:51:08 duration_ms: 0.367033
  163. 16817:51:08 ...
  164. 16917:51:08 1..4
  165. 17017:51:08ok 6 - Column fill warning (t1123)
  166. 17117:51:08 ---
  167. 17217:51:08 duration_ms: 6.403622
  168. 17317:51:08 type: 'suite'
  169. 17417:51:08 ...
  170. 17517:51:08# Subtest: Match combo (t1197)
  171. 17617:51:08 # Subtest: constants
  172. 17717:51:08 ok 1 - constants
  173. 17817:51:08 ---
  174. 17917:51:08 duration_ms: 1.39951
  175. 18017:51:08 ...
  176. 18117:51:08 # Subtest: first match +0%, then +1%, +2%, ... per earlier match in the combo
  177. 18217:51:08 ok 2 - first match +0%, then +1%, +2%, ... per earlier match in the combo
  178. 18317:51:08 ---
  179. 18417:51:08 duration_ms: 3.118384
  180. 18517:51:08 ...
  181. 18617:51:08 # Subtest: adds to the landing-chain bonus (chain 1 + 2 combo matches = +27%)
  182. 18717:51:08 ok 3 - adds to the landing-chain bonus (chain 1 + 2 combo matches = +27%)
  183. 18817:51:08 ---
  184. 18917:51:08 duration_ms: 1.856894
  185. 19017:51:08 ...
  186. 19117:51:08 # Subtest: combo bonus is capped at +30% (0.01 * min(combo, 30))
  187. 19217:51:08 ok 4 - combo bonus is capped at +30% (0.01 * min(combo, 30))
  188. 19317:51:08 ---
  189. 19417:51:08 duration_ms: 0.817472
  190. 19517:51:08 ...
  191. 19617:51:08 # Subtest: the cap does not touch the landing chain (chain 1 + capped combo = +55%)
  192. 19717:51:08 ok 5 - the cap does not touch the landing chain (chain 1 + capped combo = +55%)
  193. 19817:51:08 ---
  194. 19917:51:08 duration_ms: 0.405135
  195. 20017:51:08 ...
  196. 20117:51:08 # Subtest: HUD number (t1200) is only the combo part: 0.01 * min(combo, 30), landing chain excluded
  197. 20217:51:08 ok 6 - HUD number (t1200) is only the combo part: 0.01 * min(combo, 30), landing chain excluded
  198. 20317:51:08 ---
  199. 20417:51:08 duration_ms: 81.977496
  200. 20517:51:08 ...
  201. 20617:51:08 # Subtest: resets after 5 s without a match, not before
  202. 20717:51:08 ok 7 - resets after 5 s without a match, not before
  203. 20817:51:08 ---
  204. 20917:51:08 duration_ms: 10.285466
  205. 21017:51:08 ...
  206. 21117:51:08 # Subtest: bots share it: an offline bot core is a GameCore with the same combo
  207. 21217:51:08 ok 8 - bots share it: an offline bot core is a GameCore with the same combo
  208. 21317:51:08 ---
  209. 21417:51:09 duration_ms: 5.328654
  210. 21517:51:09 ...
  211. 21617:51:09 1..8
  212. 21717:51:09ok 7 - Match combo (t1197)
  213. 21817:51:09 ---
  214. 21917:51:09 duration_ms: 107.484011
  215. 22017:51:09 type: 'suite'
  216. 22117:51:09 ...
  217. 22217:51:09# Subtest: Departing rocket columns (t1184)
  218. 22317:51:09 # Subtest: threshold is 75% of the field height
  219. 22417:51:09 ok 1 - threshold is 75% of the field height
  220. 22517:51:09 ---
  221. 22617:51:09 duration_ms: 1.923169
  222. 22717:51:09 ...
  223. 22817:51:09 # Subtest: a rising stack below 75% does not block its columns
  224. 22917:51:09 ok 2 - a rising stack below 75% does not block its columns
  225. 23017:51:09 ---
  226. 23117:51:09 duration_ms: 7.343336
  227. 23217:51:09 ...
  228. 23317:51:09 # Subtest: past 75% and certain to leave: all its columns are skipped by new blocks
  229. 23417:51:09 ok 3 - past 75% and certain to leave: all its columns are skipped by new blocks
  230. 23517:51:09 ---
  231. 23617:51:09 duration_ms: 61.381324
  232. 23717:51:09 ...
  233. 23817:51:09 # Subtest: received garbage aimed at a departing column drops in another column
  234. 23917:51:09 ok 4 - received garbage aimed at a departing column drops in another column
  235. 24017:51:09 ---
  236. 24117:51:09 duration_ms: 2.954966
  237. 24217:51:09 ...
  238. 24317:51:09 # Subtest: a stack whose apex stays below the top is not departing
  239. 24417:51:09 ok 5 - a stack whose apex stays below the top is not departing
  240. 24517:51:09 ---
  241. 24617:51:09 duration_ms: 5.966187
  242. 24717:51:09 ...
  243. 24817:51:09 # Subtest: a stack that is coming back down is not departing
  244. 24917:51:09 ok 6 - a stack that is coming back down is not departing
  245. 25017:51:09 ---
  246. 25117:51:09 duration_ms: 1.036395
  247. 25217:51:09 ...
  248. 25317:51:09 # Subtest: if every open column is departing, garbage waits and arrives later (never lost)
  249. 25417:51:09 ok 7 - if every open column is departing, garbage waits and arrives later (never lost)
  250. 25517:51:09 ---
  251. 25617:51:09 duration_ms: 6.478414
  252. 25717:51:09 ...
  253. 25817:51:09 # Subtest: the stack really leaves and the columns open up again
  254. 25917:51:09 ok 8 - the stack really leaves and the columns open up again
  255. 26017:51:09 ---
  256. 26117:51:09 duration_ms: 2.654118
  257. 26217:51:09 ...
  258. 26317:51:09 1..8
  259. 26417:51:09ok 8 - Departing rocket columns (t1184)
  260. 26517:51:09 ---
  261. 26617:51:09 duration_ms: 97.973988
  262. 26717:51:09 type: 'suite'
  263. 26817:51:09 ...
  264. 26917:51:09# Subtest: deploy_guard
  265. 27017:51:09 # Subtest: expands $timftproot and ${timftproot} and collapses double slashes
  266. 27117:51:09 ok 1 - expands $timftproot and ${timftproot} and collapses double slashes
  267. 27217:51:09 ---
  268. 27317:51:09 duration_ms: 264.049239
  269. 27417:51:09 ...
  270. 27517:51:09 # Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf
  271. 27617:51:09 ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf
  272. 27717:51:09 ---
  273. 27817:51:09 duration_ms: 135.34542
  274. 27917:51:09 ...
  275. 28017:51:09 # Subtest: the CLI exits 0 for a good path and does not print the path
  276. 28117:51:09 ok 3 - the CLI exits 0 for a good path and does not print the path
  277. 28217:51:09 ---
  278. 28317:51:09 duration_ms: 164.426881
  279. 28417:51:09 ...
  280. 28517:51:09 1..3
  281. 28617:51:09ok 9 - deploy_guard
  282. 28717:51:09 ---
  283. 28817:51:09 duration_ms: 565.74592
  284. 28917:51:09 type: 'suite'
  285. 29017:51:09 ...
  286. 29117:51:09# Subtest: assert_safe_target
  287. 29217:51:09 # Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names
  288. 29317:51:09 ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names
  289. 29417:51:09 ---
  290. 29517:51:09 duration_ms: 108.517681
  291. 29617:51:09 ...
  292. 29717:51:09 # Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  293. 29817:51:09 ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  294. 29917:51:09 ---
  295. 30017:51:09 duration_ms: 103.119596
  296. 30117:51:09 ...
  297. 30217:51:09 1..2
  298. 30317:51:09ok 10 - assert_safe_target
  299. 30417:51:09 ---
  300. 30517:51:09 duration_ms: 211.933056
  301. 30617:51:09 type: 'suite'
  302. 30717:51:09 ...
  303. 30817:51:09# Subtest: auth_config_php
  304. 30917:51:09 # Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp)
  305. 31017:51:09 ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp)
  306. 31117:51:09 ---
  307. 31217:51:09 duration_ms: 210.905316
  308. 31317:51:09 ...
  309. 31417:51:09 1..1
  310. 31517:51:09ok 11 - auth_config_php
  311. 31617:51:09 ---
  312. 31717:51:09 duration_ms: 211.245809
  313. 31817:51:09 type: 'suite'
  314. 31917:51:09 ...
  315. 32017:51:09# Subtest: Blocks under a flying cluster are draggable (t1107)
  316. 32117:51:09 # Subtest: a still stack under a flyer in the same column can be grabbed and swapped
  317. 32217:51:09 ok 1 - a still stack under a flyer in the same column can be grabbed and swapped
  318. 32317:51:09 ---
  319. 32417:51:09 duration_ms: 3.146537
  320. 32517:51:09 ...
  321. 32617:51:09 # Subtest: pressing on a flying cluster does not grab it or a block below
  322. 32717:51:09 ok 2 - pressing on a flying cluster does not grab it or a block below
  323. 32817:51:09 ---
  324. 32917:51:09 duration_ms: 2.809331
  325. 33017:51:09 ...
  326. 33117:51:09 1..2
  327. 33217:51:09ok 12 - Blocks under a flying cluster are draggable (t1107)
  328. 33317:51:09 ---
  329. 33417:51:09 duration_ms: 61.473859
  330. 33517:51:09 type: 'suite'
  331. 33617:51:09 ...
  332. 33717:51:09# Subtest: Dragging within, into and out of a landed cluster (t1107)
  333. 33817:51:09 # Subtest: dragging within a landed cluster swaps members and keeps them in the group
  334. 33917:51:09 ok 1 - dragging within a landed cluster swaps members and keeps them in the group
  335. 34017:51:09 ---
  336. 34117:51:09 duration_ms: 0.797996
  337. 34217:51:09 ...
  338. 34317:51:09 # Subtest: swapping a still block into a landed cluster makes it a member
  339. 34417:51:09 ok 2 - swapping a still block into a landed cluster makes it a member
  340. 34517:51:09 ---
  341. 34617:51:09 duration_ms: 3.215457
  342. 34717:51:09 ...
  343. 34817:51:09 # Subtest: swapping a landed member out leaves the cluster; a grey keeps its settle timer
  344. 34917:51:09 ok 3 - swapping a landed member out leaves the cluster; a grey keeps its settle timer
  345. 35017:51:09 ---
  346. 35117:51:09 duration_ms: 0.605703
  347. 35217:51:09 ...
  348. 35317:51:09 # Subtest: a gap in the column stops the swap; hanging members are part of the stack
  349. 35417:51:09 ok 4 - a gap in the column stops the swap; hanging members are part of the stack
  350. 35517:51:09 ---
  351. 35617:51:09 duration_ms: 0.421986
  352. 35717:51:09 ...
  353. 35817:51:09 1..4
  354. 35917:51:09ok 13 - Dragging within, into and out of a landed cluster (t1107)
  355. 36017:51:09 ---
  356. 36117:51:09 duration_ms: 5.505187
  357. 36217:51:09 type: 'suite'
  358. 36317:51:09 ...
  359. 36417:51:09# Subtest: Click-tween defaults (KWin Click Tween)
  360. 36517:51:09 # Subtest: matches Tim's default scale, durations and Qt easing parameters
  361. 36617:51:09 ok 1 - matches Tim's default scale, durations and Qt easing parameters
  362. 36717:51:09 ---
  363. 36817:51:09 duration_ms: 1.219471
  364. 36917:51:09 ...
  365. 37017:51:09 # Subtest: easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way
  366. 37117:51:09 ok 2 - easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way
  367. 37217:51:09 ---
  368. 37317:51:09 duration_ms: 0.326256
  369. 37417:51:09 ...
  370. 37517:51:09 # Subtest: easeOutElastic ends at 1 and oscillates around the end value
  371. 37617:51:09 ok 3 - easeOutElastic ends at 1 and oscillates around the end value
  372. 37717:51:09 ---
  373. 37817:51:09 duration_ms: 0.292662
  374. 37917:51:09 ...
  375. 38017:51:09 # Subtest: tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles
  376. 38117:51:09 ok 4 - tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles
  377. 38217:51:09 ---
  378. 38317:51:09 duration_ms: 0.404684
  379. 38417:51:09 ...
  380. 38517:51:09 1..4
  381. 38617:51:09ok 14 - Click-tween defaults (KWin Click Tween)
  382. 38717:51:09 ---
  383. 38817:51:09 duration_ms: 4.008023
  384. 38917:51:09 type: 'suite'
  385. 39017:51:09 ...
  386. 39117:51:09# Subtest: Planet apex-ease and bounce parameters
  387. 39217:51:09 # Subtest: derives faster ease and bounce from lower fallTime (low air resistance)
  388. 39317:51:09 ok 1 - derives faster ease and bounce from lower fallTime (low air resistance)
  389. 39417:51:09 ---
  390. 39517:51:09 duration_ms: 2.605647
  391. 39617:51:09 ...
  392. 39717:51:09 1..1
  393. 39817:51:09ok 15 - Planet apex-ease and bounce parameters
  394. 39917:51:09 ---
  395. 40017:51:09 duration_ms: 2.801125
  396. 40117:51:09 type: 'suite'
  397. 40217:51:09 ...
  398. 40317:51:09# Subtest: Swap tween (t1121)
  399. 40417:51:09 # Subtest: easeOutCubic is 0 at 0, 1 at 1, and 0.875 at 0.5
  400. 40517:51:09 ok 1 - easeOutCubic is 0 at 0, 1 at 1, and 0.875 at 0.5
  401. 40617:51:09 ---
  402. 40717:51:09 duration_ms: 0.279427
  403. 40817:51:09 ...
  404. 40917:51:09 # Subtest: SWAP_TWEEN lasts 80–120 ms and uses easeOutCubic
  405. 41017:51:09 ok 2 - SWAP_TWEEN lasts 80–120 ms and uses easeOutCubic
  406. 41117:51:09 ---
  407. 41217:51:09 duration_ms: 53.655678
  408. 41317:51:09 ...
  409. 41417:51:09 1..2
  410. 41517:51:09ok 16 - Swap tween (t1121)
  411. 41617:51:09 ---
  412. 41717:51:09 duration_ms: 54.517243
  413. 41817:51:09 type: 'suite'
  414. 41917:51:09 ...
  415. 42017:51:09# Subtest: Falling blocks land on flying clusters
  416. 42117:51:09 # Subtest: a falling spawn lands on a flying cluster and flies along as cargo
  417. 42217:51:09 ok 1 - a falling spawn lands on a flying cluster and flies along as cargo
  418. 42317:51:09 ---
  419. 42417:51:09 duration_ms: 18.480048
  420. 42517:51:09 ...
  421. 42617:51:09 # Subtest: a falling block does not pass through a descending or rising cluster
  422. 42717:51:09 ok 2 - a falling block does not pass through a descending or rising cluster
  423. 42817:51:09 ---
  424. 42917:51:09 duration_ms: 64.119662
  425. 43017:51:09 ...
  426. 43117:51:09 # Subtest: a rising cluster that meets a falling block picks it up
  427. 43217:51:09 ok 3 - a rising cluster that meets a falling block picks it up
  428. 43317:51:09 ---
  429. 43417:51:09 duration_ms: 8.717198
  430. 43517:51:09 ...
  431. 43617:51:09 1..3
  432. 43717:51:09ok 17 - Falling blocks land on flying clusters
  433. 43817:51:09 ---
  434. 43917:51:09 duration_ms: 93.232381
  435. 44017:51:09 type: 'suite'
  436. 44117:51:09 ...
  437. 44217:51:09# Subtest: Rigid grey landing
  438. 44317:51:09 # Subtest: keeps relative positions, so part of the group can hang above a gap
  439. 44417:51:09 ok 1 - keeps relative positions, so part of the group can hang above a gap
  440. 44517:51:09 ---
  441. 44617:51:09 duration_ms: 26.964497
  442. 44717:51:09 ...
  443. 44817:51:09 # Subtest: after conversion, hanging blocks fall individually and supported ones stay
  444. 44917:51:09 ok 2 - after conversion, hanging blocks fall individually and supported ones stay
  445. 45017:51:09 ---
  446. 45117:51:09 duration_ms: 106.978998
  447. 45217:51:09 ...
  448. 45317:51:09 1..2
  449. 45417:51:09ok 18 - Rigid grey landing
  450. 45517:51:09 ---
  451. 45617:51:09 duration_ms: 134.247378
  452. 45717:51:09 type: 'suite'
  453. 45817:51:09 ...
  454. 45917:51:09# Subtest: Landing bounce planet parameter
  455. 46017:51:09 # Subtest: sets bouncing on a landed block, faster at low air resistance
  456. 46117:51:09 ok 1 - sets bouncing on a landed block, faster at low air resistance
  457. 46217:51:09 ---
  458. 46317:51:09 duration_ms: 53.521855
  459. 46417:51:09 ...
  460. 46517:51:09 # Subtest: a rigid cluster bounce only on members that actually rest on something
  461. 46617:51:09 ok 2 - a rigid cluster bounce only on members that actually rest on something
  462. 46717:51:09 ---
  463. 46817:51:09 duration_ms: 17.346659
  464. 46917:51:09 ...
  465. 47017:51:09 1..2
  466. 47117:51:09ok 19 - Landing bounce planet parameter
  467. 47217:51:09 ---
  468. 47317:51:09 duration_ms: 71.251988
  469. 47417:51:09 type: 'suite'
  470. 47517:51:09 ...
  471. 47617:51:09# Subtest: Recolor must not shoot blocks off the top (t1102)
  472. 47717:51:09 # Subtest: clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off
  473. 47817:51:09 ok 1 - clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off
  474. 47917:51:09 ---
  475. 48017:51:09 duration_ms: 105.870647
  476. 48117:51:09 ...
  477. 48217:51:09 # Subtest: a genuine match after recolor launches with normal jump physics, not leftover speed
  478. 48317:51:09 ok 2 - a genuine match after recolor launches with normal jump physics, not leftover speed
  479. 48417:51:09 ---
  480. 48517:51:09 duration_ms: 296.715714
  481. 48617:51:09 ...
  482. 48717:51:09 1..2
  483. 48817:51:09ok 20 - Recolor must not shoot blocks off the top (t1102)
  484. 48917:51:09 ---
  485. 49017:51:09 duration_ms: 402.952211
  486. 49117:51:09 type: 'suite'
  487. 49217:51:09 ...
  488. 49317:51:09# Subtest: FlameFx (t1183)
  489. 49417:51:09 # Subtest: runs at double the old frame rate (0.08 s → 0.04 s per frame)
  490. 49517:51:09 ok 1 - runs at double the old frame rate (0.08 s → 0.04 s per frame)
  491. 49617:51:09 ---
  492. 49717:51:09 duration_ms: 1.371117
  493. 49817:51:09 ...
  494. 49917:51:09 # Subtest: picks a random frame that differs from the current one, covering all frames
  495. 50017:51:09 ok 2 - picks a random frame that differs from the current one, covering all frames
  496. 50117:51:09 ---
  497. 50217:51:09 duration_ms: 0.447124
  498. 50317:51:09 ...
  499. 50417:51:09 # Subtest: flips about half the time and keeps scale/size/rotation within bounds, independently
  500. 50517:51:09 ok 3 - flips about half the time and keeps scale/size/rotation within bounds, independently
  501. 50617:51:09 ---
  502. 50717:51:09 duration_ms: 78.166906
  503. 50817:51:09 ...
  504. 50917:51:09 # Subtest: the top-centre anchor never moves, whatever the flip, scale or rotation
  505. 51017:51:09 ok 4 - the top-centre anchor never moves, whatever the flip, scale or rotation
  506. 51117:51:09 ---
  507. 51217:51:09 duration_ms: 3.783548
  508. 51317:51:09 ...
  509. 51417:51:09 # Subtest: reduced motion: random frame only, no flip/scale/rotation
  510. 51517:51:09 ok 5 - reduced motion: random frame only, no flip/scale/rotation
  511. 51617:51:09 ---
  512. 51717:51:10 duration_ms: 0.290458
  513. 51817:51:10 ...
  514. 51917:51:10 # Subtest: a long stall rolls once and keeps the remainder
  515. 52017:51:10 ok 6 - a long stall rolls once and keeps the remainder
  516. 52117:51:10 ---
  517. 52217:51:10 duration_ms: 0.240304
  518. 52317:51:10 ...
  519. 52417:51:10 1..6
  520. 52517:51:10ok 21 - FlameFx (t1183)
  521. 52617:51:10 ---
  522. 52717:51:10 duration_ms: 86.010194
  523. 52817:51:10 type: 'suite'
  524. 52917:51:10 ...
  525. 53017:51:10# Subtest: FlameFx create (t1183)
  526. 53117:51:10 # Subtest: a flame created under reduced motion starts unjittered
  527. 53217:51:10 ok 1 - a flame created under reduced motion starts unjittered
  528. 53317:51:10 ---
  529. 53417:51:10 duration_ms: 0.247577
  530. 53517:51:10 ...
  531. 53617:51:10 1..1
  532. 53717:51:10ok 22 - FlameFx create (t1183)
  533. 53817:51:10 ---
  534. 53917:51:10 duration_ms: 0.60402
  535. 54017:51:10 type: 'suite'
  536. 54117:51:10 ...
  537. 54217:51:10# Subtest: Local flights (t1181)
  538. 54317:51:10 # Subtest: the sender sees its flight at once, before any server answer
  539. 54417:51:10 ok 1 - the sender sees its flight at once, before any server answer
  540. 54517:51:10 ---
  541. 54617:51:10 duration_ms: 8.336309
  542. 54717:51:10 ...
  543. 54817:51:10 # Subtest: the poll result retargets the same flight without a jump, and only once
  544. 54917:51:10 ok 2 - the poll result retargets the same flight without a jump, and only once
  545. 55017:51:10 ---
  546. 55117:51:10 duration_ms: 2.520246
  547. 55217:51:10 ...
  548. 55317:51:10 # Subtest: the retarget keeps the total close to one flight duration
  549. 55417:51:10 ok 3 - the retarget keeps the total close to one flight duration
  550. 55517:51:10 ---
  551. 55617:51:10 duration_ms: 0.404513
  552. 55717:51:10 ...
  553. 55817:51:10 # Subtest: a preview waits at its apex for a slow server instead of vanishing
  554. 55917:51:10 ok 4 - a preview waits at its apex for a slow server instead of vanishing
  555. 56017:51:10 ---
  556. 56117:51:10 duration_ms: 60.148919
  557. 56217:51:10 ...
  558. 56317:51:10 # Subtest: a receiver plays a late-seen flight from the start, a bit faster (no mid-arc pop-in)
  559. 56417:51:10 ok 5 - a receiver plays a late-seen flight from the start, a bit faster (no mid-arc pop-in)
  560. 56517:51:10 ---
  561. 56617:51:10 duration_ms: 0.867527
  562. 56717:51:10 ...
  563. 56817:51:10 # Subtest: interpolation depends only on time, not on how often tickFlights runs
  564. 56917:51:10 ok 6 - interpolation depends only on time, not on how often tickFlights runs
  565. 57017:51:10 ---
  566. 57117:51:10 duration_ms: 2.803299
  567. 57217:51:10 ...
  568. 57317:51:10 # Subtest: flushDecision sends new shots right away unless a poll is in flight or just happened
  569. 57417:51:10 ok 7 - flushDecision sends new shots right away unless a poll is in flight or just happened
  570. 57517:51:10 ---
  571. 57617:51:10 duration_ms: 0.473744
  572. 57717:51:10 ...
  573. 57817:51:10 # Subtest: the authoritative payload is unchanged: shots are queued exactly as before
  574. 57917:51:10 ok 8 - the authoritative payload is unchanged: shots are queued exactly as before
  575. 58017:51:10 ---
  576. 58117:51:10 duration_ms: 0.581797
  577. 58217:51:10 ...
  578. 58317:51:10 1..8
  579. 58417:51:10ok 23 - Local flights (t1181)
  580. 58517:51:10 ---
  581. 58617:51:10 duration_ms: 78.232629
  582. 58717:51:10 type: 'suite'
  583. 58817:51:10 ...
  584. 58917:51:10# Subtest: Garbage landing column (t1126)
  585. 59017:51:10 # Subtest: pickGarbageColumn keeps a preferred open column
  586. 59117:51:10 ok 1 - pickGarbageColumn keeps a preferred open column
  587. 59217:51:10 ---
  588. 59317:51:10 duration_ms: 2.37436
  589. 59417:51:10 ...
  590. 59517:51:10 # Subtest: pickGarbageColumn skips a full preferred column and still returns an open one
  591. 59617:51:10 ok 2 - pickGarbageColumn skips a full preferred column and still returns an open one
  592. 59717:51:10 ---
  593. 59817:51:10 duration_ms: 0.770174
  594. 59917:51:10 ...
  595. 60017:51:10 # Subtest: offline dispatch picks land_col and ingest uses the same column
  596. 60117:51:10 ok 3 - offline dispatch picks land_col and ingest uses the same column
  597. 60217:51:10 ---
  598. 60317:51:10 duration_ms: 8.058164
  599. 60417:51:10 ...
  600. 60517:51:10 1..3
  601. 60617:51:10ok 24 - Garbage landing column (t1126)
  602. 60717:51:10 ---
  603. 60817:51:10 duration_ms: 14.376616
  604. 60917:51:10 type: 'suite'
  605. 61017:51:10 ...
  606. 61117:51:10# Subtest: Around-field flight path (t1128)
  607. 61217:51:10 # Subtest: routes a left-mini shot around the field into a given column
  608. 61317:51:10 ok 1 - routes a left-mini shot around the field into a given column
  609. 61417:51:10 ---
  610. 61517:51:10 duration_ms: 14.816907
  611. 61617:51:10 ...
  612. 61717:51:10 # Subtest: routes a player shot around the field to a right-hand mini
  613. 61817:51:10 ok 2 - routes a player shot around the field to a right-hand mini
  614. 61917:51:10 ---
  615. 62017:51:10 duration_ms: 1.788445
  616. 62117:51:10 ...
  617. 62217:51:10 # Subtest: a path already above the field stays as a simple arc above it
  618. 62317:51:10 ok 3 - a path already above the field stays as a simple arc above it
  619. 62417:51:10 ---
  620. 62517:51:10 duration_ms: 54.546468
  621. 62617:51:10 ...
  622. 62717:51:10 1..3
  623. 62817:51:10ok 25 - Around-field flight path (t1128)
  624. 62917:51:10 ---
  625. 63017:51:10 duration_ms: 71.522699
  626. 63117:51:10 type: 'suite'
  627. 63217:51:10 ...
  628. 63317:51:10# Subtest: Wide-layout top padding (t1129)
  629. 63417:51:10 # Subtest: leaves room above the field on a wide screen, not on narrow or mobile
  630. 63517:51:10 ok 1 - leaves room above the field on a wide screen, not on narrow or mobile
  631. 63617:51:10 ---
  632. 63717:51:10 duration_ms: 1.305414
  633. 63817:51:10 ...
  634. 63917:51:10 1..1
  635. 64017:51:10ok 26 - Wide-layout top padding (t1129)
  636. 64117:51:10 ---
  637. 64217:51:10 duration_ms: 1.597845
  638. 64317:51:10 type: 'suite'
  639. 64417:51:10 ...
  640. 64517:51:10# Subtest: takeLandCol consistency (t1126)
  641. 64617:51:10 # Subtest: prefers the server land_col and falls back to a remembered id
  642. 64717:51:10 ok 1 - prefers the server land_col and falls back to a remembered id
  643. 64817:51:10 ---
  644. 64917:51:10 duration_ms: 0.329952
  645. 65017:51:10 ...
  646. 65117:51:10 1..1
  647. 65217:51:10ok 27 - takeLandCol consistency (t1126)
  648. 65317:51:10 ---
  649. 65417:51:10 duration_ms: 0.594051
  650. 65517:51:10 type: 'suite'
  651. 65617:51:10 ...
  652. 65717:51:10# Subtest: Smooth C1 arcs (t1134)
  653. 65817:51:10 # Subtest: is one continuous polynomial: C^∞, gradual curvature, no straight stretches (t1138)
  654. 65917:51:10 ok 1 - is one continuous polynomial: C^∞, gradual curvature, no straight stretches (t1138)
  655. 66017:51:10 ---
  656. 66117:51:10 duration_ms: 11.287878
  657. 66217:51:10 ...
  658. 66317:51:10 # Subtest: leaves a mid-field cell going up and stays in launch/land corridors
  659. 66417:51:10 ok 2 - leaves a mid-field cell going up and stays in launch/land corridors
  660. 66517:51:10 ---
  661. 66617:51:10 duration_ms: 2.726415
  662. 66717:51:10 ...
  663. 66817:51:10 # Subtest: dives into the landing column at the spawn pose with downward fallSpeed (t1135)
  664. 66917:51:10 ok 3 - dives into the landing column at the spawn pose with downward fallSpeed (t1135)
  665. 67017:51:10 ---
  666. 67117:51:10 duration_ms: 0.501026
  667. 67217:51:10 ...
  668. 67317:51:10 # Subtest: smoothParam has non-zero endpoint derivatives (no visual stop)
  669. 67417:51:10 ok 4 - smoothParam has non-zero endpoint derivatives (no visual stop)
  670. 67517:51:10 ---
  671. 67617:51:10 duration_ms: 0.27569
  672. 67717:51:10 ...
  673. 67817:51:10 # Subtest: cellViewport matches placeTile centres (y=0 at the bottom)
  674. 67917:51:10 ok 5 - cellViewport matches placeTile centres (y=0 at the bottom)
  675. 68017:51:10 ---
  676. 68117:51:10 duration_ms: 0.244311
  677. 68217:51:10 ...
  678. 68317:51:10 1..5
  679. 68417:51:10ok 28 - Smooth C1 arcs (t1134)
  680. 68517:51:10 ---
  681. 68617:51:10 duration_ms: 15.394626
  682. 68717:51:10 type: 'suite'
  683. 68817:51:10 ...
  684. 68917:51:10# Subtest: Exit-only flight start (t1137)
  685. 69017:51:10 # Subtest: hasLeftTheField is true only at y ≥ 13
  686. 69117:51:10 ok 1 - hasLeftTheField is true only at y ≥ 13
  687. 69217:51:10 ---
  688. 69317:51:10 duration_ms: 1.408417
  689. 69417:51:10 ...
  690. 69517:51:10 # Subtest: a rocket that peaks below the exit produces no shot and no flight
  691. 69617:51:10 ok 2 - a rocket that peaks below the exit produces no shot and no flight
  692. 69717:51:10 ---
  693. 69817:51:10 duration_ms: 15.288797
  694. 69917:51:10 ...
  695. 70017:51:10 # Subtest: a rocket that crosses y=13 produces exactly one shot at the exit pose
  696. 70117:51:10 ok 3 - a rocket that crosses y=13 produces exactly one shot at the exit pose
  697. 70217:51:10 ---
  698. 70317:51:10 duration_ms: 0.623006
  699. 70417:51:10 ...
  700. 70517:51:10 # Subtest: previewExit ignores a rocket that has not left, even with an upward vy
  701. 70617:51:10 ok 4 - previewExit ignores a rocket that has not left, even with an upward vy
  702. 70717:51:10 ---
  703. 70817:51:10 duration_ms: 0.194527
  704. 70917:51:10 ...
  705. 71017:51:10 1..4
  706. 71117:51:10ok 29 - Exit-only flight start (t1137)
  707. 71217:51:10 ---
  708. 71317:51:10 duration_ms: 17.8554
  709. 71417:51:10 type: 'suite'
  710. 71517:51:10 ...
  711. 71617:51:10# Subtest: Received garbage queue (t1192)
  712. 71717:51:10 # Subtest: exact scenario: 5 blocks at once, 2 open columns, all aimed at one → all 5 land
  713. 71817:51:10 ok 1 - exact scenario: 5 blocks at once, 2 open columns, all aimed at one → all 5 land
  714. 71917:51:10 ---
  715. 72017:51:10 duration_ms: 813.553033
  716. 72117:51:10 ...
  717. 72217:51:10 # Subtest: random aims with 2 open columns: still all 5 land
  718. 72317:51:10 ok 2 - random aims with 2 open columns: still all 5 land
  719. 72417:51:10 ---
  720. 72517:51:10 duration_ms: 93.179461
  721. 72617:51:10 ...
  722. 72717:51:10 # Subtest: blocks in one column never overlap and drop only after a full cell of clearance
  723. 72817:51:10 ok 3 - blocks in one column never overlap and drop only after a full cell of clearance
  724. 72917:51:10 ---
  725. 73017:51:10 duration_ms: 25.024737
  726. 73117:51:10 ...
  727. 73217:51:10 # Subtest: no open column: garbage waits (not dropped, not lost) and lands when room appears
  728. 73317:51:10 ok 4 - no open column: garbage waits (not dropped, not lost) and lands when room appears
  729. 73417:51:10 ---
  730. 73517:51:10 duration_ms: 107.91274
  731. 73617:51:10 ...
  732. 73717:51:10 # Subtest: a full column (counting blocks still falling) is skipped for another open one
  733. 73817:51:10 ok 5 - a full column (counting blocks still falling) is skipped for another open one
  734. 73917:51:10 ---
  735. 74017:51:10 duration_ms: 84.614751
  736. 74117:51:10 ...
  737. 74217:51:10 # Subtest: open wanted column wins; a free field takes all at once in distinct columns
  738. 74317:51:10 ok 6 - open wanted column wins; a free field takes all at once in distinct columns
  739. 74417:51:10 ---
  740. 74517:51:10 duration_ms: 0.317419
  741. 74617:51:10 ...
  742. 74717:51:10 # Subtest: garbage is not accepted after game over (as before)
  743. 74817:51:10 ok 7 - garbage is not accepted after game over (as before)
  744. 74917:51:10 ---
  745. 75017:51:10 duration_ms: 0.14845
  746. 75117:51:10 ...
  747. 75217:51:10 1..7
  748. 75317:51:10ok 30 - Received garbage queue (t1192)
  749. 75417:51:10 ---
  750. 75517:51:10 duration_ms: 1179.263405
  751. 75617:51:10 type: 'suite'
  752. 75717:51:10 ...
  753. 75817:51:10# Subtest: Received garbage queue — offline bots (t1192)
  754. 75917:51:10 # Subtest: 5 shots at once to a bot with 2 open columns: all 5 land on the bot
  755. 76017:51:10 ok 1 - 5 shots at once to a bot with 2 open columns: all 5 land on the bot
  756. 76117:51:10 ---
  757. 76217:51:10 duration_ms: 22.369637
  758. 76317:51:10 ...
  759. 76417:51:10 1..1
  760. 76517:51:10ok 31 - Received garbage queue — offline bots (t1192)
  761. 76617:51:10 ---
  762. 76717:51:10 duration_ms: 22.663091
  763. 76817:51:10 type: 'suite'
  764. 76917:51:10 ...
  765. 77017:51:10# Subtest: i18n catalog (t1141)
  766. 77117:51:10 # Subtest: lists every supported locale
  767. 77217:51:10 ok 1 - lists every supported locale
  768. 77317:51:10 ---
  769. 77417:51:10 duration_ms: 58.564259
  770. 77517:51:10 ...
  771. 77617:51:10 # Subtest: has the same non-empty keys in every language
  772. 77717:51:10 ok 2 - has the same non-empty keys in every language
  773. 77817:51:10 ---
  774. 77917:51:10 duration_ms: 6.441404
  775. 78017:51:10 ...
  776. 78117:51:10 # Subtest: keeps English placeholders in every translation
  777. 78217:51:10 ok 3 - keeps English placeholders in every translation
  778. 78317:51:10 ---
  779. 78417:51:10 duration_ms: 9.399896
  780. 78517:51:10 ...
  781. 78617:51:10 # Subtest: translates every official planet and registry block
  782. 78717:51:10 ok 4 - translates every official planet and registry block
  783. 78817:51:10 ---
  784. 78917:51:10 duration_ms: 3.811963
  785. 79017:51:10 ...
  786. 79117:51:10 # Subtest: does not rewrite a custom planet’s own name
  787. 79217:51:10 ok 5 - does not rewrite a custom planet’s own name
  788. 79317:51:10 ---
  789. 79417:51:10 duration_ms: 0.266734
  790. 79517:51:10 ...
  791. 79617:51:10 # Subtest: interpolates and pluralises
  792. 79717:51:10 ok 6 - interpolates and pluralises
  793. 79817:51:10 ---
  794. 79917:51:10 duration_ms: 0.624659
  795. 80017:51:10 ...
  796. 80117:51:10 # Subtest: maps known server error messages
  797. 80217:51:10 ok 7 - maps known server error messages
  798. 80317:51:10 ---
  799. 80417:51:10 duration_ms: 1.385214
  800. 80517:51:10 ...
  801. 80617:51:10 # Subtest: defaults to English and rejects unknown locales
  802. 80717:51:10 ok 8 - defaults to English and rejects unknown locales
  803. 80817:51:10 ---
  804. 80917:51:10 duration_ms: 0.287433
  805. 81017:51:10 ...
  806. 81117:51:10 # Subtest: ships a local SVG flag for every language (no emoji)
  807. 81217:51:10 ok 9 - ships a local SVG flag for every language (no emoji)
  808. 81317:51:10 ---
  809. 81417:51:10 duration_ms: 0.994947
  810. 81517:51:10 ...
  811. 81617:51:10 1..9
  812. 81717:51:10ok 32 - i18n catalog (t1141)
  813. 81817:51:10 ---
  814. 81917:51:10 duration_ms: 85.02771
  815. 82017:51:10 type: 'suite'
  816. 82117:51:10 ...
  817. 82217:51:10# Subtest: Landed clusters form mixed matches with resting blocks (t1110)
  818. 82317:51:10 # Subtest: coloured cargo that lands next to two resting blocks of the same colour launches immediately
  819. 82417:51:10 ok 1 - coloured cargo that lands next to two resting blocks of the same colour launches immediately
  820. 82517:51:10 ---
  821. 82617:51:10 duration_ms: 3.308121
  822. 82717:51:10 ...
  823. 82817:51:10 # Subtest: a vertical mixed line of resting blocks and landed cargo also launches
  824. 82917:51:10 ok 2 - a vertical mixed line of resting blocks and landed cargo also launches
  825. 83017:51:10 ---
  826. 83117:51:10 duration_ms: 0.569324
  827. 83217:51:10 ...
  828. 83317:51:10 # Subtest: grey cluster blocks have no colour and do not match until they recolor
  829. 83417:51:10 ok 3 - grey cluster blocks have no colour and do not match until they recolor
  830. 83517:51:10 ---
  831. 83617:51:10 duration_ms: 0.400004
  832. 83717:51:10 ...
  833. 83817:51:10 # Subtest: after greys recolor on landing, a mixed line with resting blocks launches
  834. 83917:51:10 ok 4 - after greys recolor on landing, a mixed line with resting blocks launches
  835. 84017:51:10 ---
  836. 84117:51:10 duration_ms: 90.668784
  837. 84217:51:10 ...
  838. 84317:51:10 # Subtest: a descending cluster that lands onto a mixed row launches through the tick
  839. 84417:51:10 ok 5 - a descending cluster that lands onto a mixed row launches through the tick
  840. 84517:51:10 ---
  841. 84617:51:10 duration_ms: 25.406287
  842. 84717:51:10 ...
  843. 84817:51:10 1..5
  844. 84917:51:10ok 33 - Landed clusters form mixed matches with resting blocks (t1110)
  845. 85017:51:10 ---
  846. 85117:51:10 duration_ms: 122.083337
  847. 85217:51:10 type: 'suite'
  848. 85317:51:10 ...
  849. 85417:51:10# Subtest: Landing-chain jump bonus (t1120)
  850. 85517:51:10 # Subtest: a landing that immediately makes a match launches 25% stronger (chain 1)
  851. 85617:51:10 ok 1 - a landing that immediately makes a match launches 25% stronger (chain 1)
  852. 85717:51:10 ---
  853. 85817:51:10 duration_ms: 4.763428
  854. 85917:51:10 ...
  855. 86017:51:10 # Subtest: a second consecutive landing-match stacks additively to +50% (chain 2)
  856. 86117:51:10 ok 2 - a second consecutive landing-match stacks additively to +50% (chain 2)
  857. 86217:51:10 ---
  858. 86317:51:10 duration_ms: 0.57243
  859. 86417:51:10 ...
  860. 86517:51:10 # Subtest: a third step is +75% (x1.75), additive not multiplicative
  861. 86617:51:10 ok 3 - a third step is +75% (x1.75), additive not multiplicative
  862. 86717:51:10 ---
  863. 86817:51:10 duration_ms: 1.127307
  864. 86917:51:10 ...
  865. 87017:51:10 # Subtest: landing without a match resets the chain, so the next launch is un-bonused
  866. 87117:51:10 ok 4 - landing without a match resets the chain, so the next launch is un-bonused
  867. 87217:51:10 ---
  868. 87317:51:10 duration_ms: 5.729861
  869. 87417:51:10 ...
  870. 87517:51:10 # Subtest: applies to stacked landings (not only the floor)
  871. 87617:51:10 ok 5 - applies to stacked landings (not only the floor)
  872. 87717:51:10 ---
  873. 87817:51:10 duration_ms: 0.695001
  874. 87917:51:10 ...
  875. 88017:51:10 # Subtest: a regular (non-landing) match is unchanged
  876. 88117:51:10 ok 6 - a regular (non-landing) match is unchanged
  877. 88217:51:10 ---
  878. 88317:51:10 duration_ms: 0.422928
  879. 88417:51:10 ...
  880. 88517:51:10 # Subtest: LANDING_CHAIN_BONUS is 0.25 additive per step
  881. 88617:51:10 ok 7 - LANDING_CHAIN_BONUS is 0.25 additive per step
  882. 88717:51:10 ---
  883. 88817:51:10 duration_ms: 0.207111
  884. 88917:51:10 ...
  885. 89017:51:10 1..7
  886. 89117:51:10ok 34 - Landing-chain jump bonus (t1120)
  887. 89217:51:10 ---
  888. 89317:51:10 duration_ms: 15.824968
  889. 89417:51:10 type: 'suite'
  890. 89517:51:10 ...
  891. 89617:51:10# Subtest: Leaderboard wiring (t1247)
  892. 89717:51:10 # Subtest: places the Leaderboard button under Play online
  893. 89817:51:10 ok 1 - places the Leaderboard button under Play online
  894. 89917:51:10 ---
  895. 90017:51:10 duration_ms: 1.403017
  896. 90117:51:10 ...
  897. 90217:51:10 # Subtest: has a two-tab leaderboard screen with login prompt for guests
  898. 90317:51:10 ok 2 - has a two-tab leaderboard screen with login prompt for guests
  899. 90417:51:10 ---
  900. 90517:51:10 duration_ms: 0.401958
  901. 90617:51:10 ...
  902. 90717:51:10 # Subtest: loads the public API and highlights the current player
  903. 90817:51:10 not ok 3 - loads the public API and highlights the current player
  904. 90917:51:10 ---
  905. 91017:51:10 duration_ms: 4.916296
  906. 91117:51:10 location: '/workspace/test/leaderboard.test.js:42:2'
  907. 91217:51:10 failureType: 'testCodeFailure'
  908. 91317:51:10 error: |-
  909. 91417:51:10 The input did not match the regular expression /authRequest\('\/api\/friends'/. Input:
  910. 91517:51:10
  911. 91617:51:10 '<?php\n' +
  912. 91717:51:10 'declare(strict_types=1);\n' +
  913. 91817:51:10 "require __DIR__ . '/lib/bootstrap.php';\n" +
  914. 91917:51:10 "require __DIR__ . '/lib/Store.php';\n" +
  915. 92017:51:10 '\n' +
  916. 92117:51:10 "$action = $_GET['action'] ?? $_POST['action'] ?? '';\n" +
  917. 92217:51:10 "if ($action === '') {\n" +
  918. 92317:51:10 ' $body = readJsonBody();\n' +
  919. 92417:51:10 " $action = (string) ($body['action'] ?? '');\n" +
  920. 92517:51:10 '} else {\n' +
  921. 92617:51:10 ' $body = readJsonBody();\n' +
  922. 92717:51:10 '}\n' +
  923. 92817:51:10 '\n' +
  924. 92917:51:10 'try {\n' +
  925. 93017:51:10 ' $configured = authConfigured();\n' +
  926. 93117:51:10 ' $local = localDev();\n' +
  927. 93217:51:10 ' $user = currentUser();\n' +
  928. 93317:51:10 '\n' +
  929. 93417:51:10 " if ($action === 'me' || $action === '') {\n" +
  930. 93517:51:10 " $view = ['lobby' => null, 'incoming' => [], 'shot_results' => [], 'shot_flights' => []];\n" +
  931. 93617:51:10 ' $profile = [\n' +
  932. 93717:51:10 " 'lifetime_points' => 0,\n" +
  933. 93817:51:10 " 'locale' => null,\n" +
  934. 93917:51:10 " 'last_planet' => null,\n" +
  935. 94017:51:10 " 'blocks' => [],\n" +
  936. 94117:51:10 " 'planets' => [],\n" +
  937. 94217:51:10 ' ];\n' +
  938. 94317:51:10 ' if ($user) {\n' +
  939. 94417:51:10 ' $store = Store::open();\n' +
  940. 94517:51:10 " $store->touchProfile($user['id'], $user['name'], $user['avatar'] ?? null);\n" +
  941. 94617:51:10 " $view = $store->viewFor($user['id']);\n" +
  942. 94717:51:10 " $profile = $store->profilePayload($user['id']);\n" +
  943. 94817:51:10 ' }\n' +
  944. 94917:51:10 ' jsonOut([\n' +
  945. 95017:51:10 " 'ok' => true,\n" +
  946. 95117:51:10 " 'configured' => $configured,\n" +
  947. 95217:51:10 " 'local' => $local,\n" +
  948. 95317:51:10 " 'csrf' => csrfToken(),\n" +
  949. 95417:51:10 " 'me' => $user,\n" +
  950. 95517:51:10 " 'lobby' => $view['lobby'],\n" +
  951. 95617:51:10 " 'incoming' => $view['incoming'],\n" +
  952. 95717:51:10 " 'shot_results' => $view['shot_results'],\n" +
  953. 95817:51:10 " 'shot_flights' => $view['shot_flights'] ?? [],\n" +
  954. 95917:51:10 " 'miss_chance_default' => METEORS_DEFAULT_MISS,\n" +
  955. 96017:51:10 " 'flight_duration' => METEORS_FLIGHT_DURATION,\n" +
  956. 96117:51:10 " 'login_url' => 'auth.php',\n" +
  957. 96217:51:10 " 'logout_url' => 'logout.php',\n" +
  958. 96317:51:10 " 'lifetime_points' => $profile['lifetime_points'],\n" +
  959. 96417:51:10 " 'locale' => $profile['locale'],\n" +
  960. 96517:51:10 " 'last_planet' => $profile['last_planet'],\n" +
  961. 96617:51:10 " 'blocks' => $profile['blocks'],\n" +
  962. 96717:51:10 " 'planets' => $profile['planets'],\n" +
  963. 96817:51:10 ' ]);\n' +
  964. 96917:51:10 ' }\n' +
  965. 97017:51:10 '\n' +
  966. 97117:51:10 " if ($action === 'leaderboard') {\n" +
  967. 97217:51:10 " $scope = (string) ($body['scope'] ?? $_GET['scope'] ?? 'global');\n" +
  968. 97317:51:10 " if ($scope !== 'friends') {\n" +
  969. 97417:51:10 " $scope = 'global';\n" +
  970. 97517:51:10 ' }\n' +
  971. 97617:51:10 ' $store = Store::open();\n' +
  972. 97717:51:10 " $viewer = $user['id'] ?? null;\n" +
  973. 97817:51:10 " $token = $_SESSION['token'] ?? null;\n" +
  974. 97917:51:10 ' [$known, $friends, $friendsError] = leaderboardKnownIdentities($store, $user, $token);\n' +
  975. 98017:51:10 " if ($scope === 'friends') {\n" +
  976. 98117:51:10 ' if (!$user) {\n' +
  977. 98217:51:10 ' jsonOut([\n' +
  978. 98317:51:10 " 'ok' => true,\n" +
  979. 98417:51:10 " 'scope' => 'friends',\n" +
  980. 98517:51:10 " 'login_required' => true,\n" +
  981. 98617:51:10 " 'players' => [],\n" +
  982. 98717:51:10 " 'me' => null,\n" +
  983. 98817:51:10 ' ]);\n' +
  984. 98917:51:10 ' }\n' +
  985. 99017:51:10 ' if ($friendsError !== null && $friends === []) {\n' +
  986. 99117:51:10 " jsonFail('De vriendenlijst is nu niet beschikbaar.', 502);\n" +
  987. 99217:51:10 ' }\n' +
  988. 99317:51:10 ' jsonOut([\n' +
  989. 99417:51:10 " 'ok' => true,\n" +
  990. 99517:51:10 " 'scope' => 'friends',\n" +
  991. 99617:51:10 " 'login_required' => false,\n" +
  992. 99717:51:10 " 'players' => $store->applyIdentities(\n" +
  993. 99817:51:10 ' $store->friendsLeaderboard($friends, 10, $viewer),\n' +
  994. 99917:51:10 ' $known\n' +
  995. 100017:51:10 ' ),\n' +
  996. 100117:51:10 " 'me' => $viewer,\n" +
  997. 100217:51:10 ' ]);\n' +
  998. 100317:51:10 ' }\n' +
  999. 100417:51:10 ' jsonOut([\n' +
  1000. 100517:51:10 " 'ok' => true,\n" +
  1001. 100617:51:10 " 'scope' => 'global',\n" +
  1002. 100717:51:10 " 'login_required' => false,\n" +
  1003. 100817:51:10 " 'players' => $store->applyIdentities($store->topPlayers(10, $viewer), $known),\n" +
  1004. 100917:51:10 " 'me' => $viewer,\n" +
  1005. 101017:51:10 ' ]);\n' +
  1006. 101117:51:10 ' }\n' +
  1007. 101217:51:10 '\n' +
  1008. 101317:51:10 " if ($action === 'test_login') {\n" +
  1009. 101417:51:10 ' if (!localDev()) {\n' +
  1010. 101517:51:10 " jsonFail('Niet beschikbaar.', 403);\n" +
  1011. 101617:51:10 ' }\n' +
  1012. 101717:51:10 ' requireCsrf();\n' +
  1013. 101817:51:10 " $who = (string) ($body['user'] ?? $_GET['user'] ?? '');\n" +
  1014. 101917:51:10 " if (!in_array($who, ['test_user_1', 'test_user_2'], true)) {\n" +
  1015. 102017:51:10 " jsonFail('Onbekende testgebruiker.');\n" +
  1016. 102117:51:10 ' }\n' +
  1017. 102217:51:10 " loginUser('local:' . $who, $who);\n" +
  1018. 102317:51:10 " jsonOut(['ok' => true, 'me' => currentUser(), 'csrf' => csrfToken()]);\n" +
  1019. 102417:51:10 ' }\n' +
  1020. 102517:51:10 '\n' +
  1021. 102617:51:10 " if (!$user && $action !== 'me') {\n" +
  1022. 102717:51:10 " jsonFail('Log in om verder te gaan.', 401);\n" +
  1023. 102817:51:10 ' }\n' +
  1024. 102917:51:10 '\n' +
  1025. 103017:51:10 ' requireCsrf();\n' +
  1026. 103117:51:10 ' $store = Store::open();\n' +
  1027. 103217:51:10 " $userId = $user['id'];\n" +
  1028. 103317:51:10 " $name = $user['name'];\n" +
  1029. 103417:51:10 '\n' +
  1030. 103517:51:10 ' switch ($action) {\n' +
  1031. 103617:51:10 " case 'lobby_create':\n" +
  1032. 103717:51:10 " $miss = isset($body['miss_chance']) ? (float) $body['miss_chance'] : METEORS_DEFAULT_MISS;\n" +
  1033. 103817:51:10 " $planet = (string) ($body['planet_id'] ?? '');\n" +
  1034. 103917:51:10 ' $lobby = $store->createLobby($userId, $name, $miss, $planet);\n' +
  1035. 104017:51:10 " jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" +
  1036. 104117:51:10 '\n' +
  1037. 104217:51:10 " case 'lobby_join':\n" +
  1038. 104317:51:10 " $code = (string) ($body['code'] ?? '');\n" +
  1039. 104417:51:10 " $planet = (string) ($body['planet_id'] ?? '');\n" +
  1040. 104517:51:10 ' $lobby = $store->joinLobby($userId, $name, $code, $planet);\n' +
  1041. 104617:51:10 " jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" +
  1042. 104717:51:10 '\n' +
  1043. 104817:51:10 " case 'lobby_set_planet':\n" +
  1044. 104917:51:10 " $planet = (string) ($body['planet_id'] ?? '');\n" +
  1045. 105017:51:10 ' $lobby = $store->setPlanet($userId, $planet);\n' +
  1046. 105117:51:10 " jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" +
  1047. 105217:51:10 '\n' +
  1048. 105317:51:10 " case 'lobby_leave':\n" +
  1049. 105417:51:10 ' $store->leaveLobby($userId);\n' +
  1050. 105517:51:10 " jsonOut(['ok' => true, 'lobby' => null, 'csrf' => csrfToken()]);\n" +
  1051. 105617:51:10 '\n' +
  1052. 105717:51:10 " case 'lobby_ready':\n" +
  1053. 105817:51:10 " $ready = (bool) ($body['ready'] ?? true);\n" +
  1054. 105917:51:10 ' $lobby = $store->setReady($userId, $ready);\n' +
  1055. 106017:51:10 " jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" +
  1056. 106117:51:10 '\n' +
  1057. 106217:51:10 " case 'lobby_start':\n" +
  1058. 106317:51:10 ' $lobby = $store->startGame($userId);\n' +
  1059. 106417:51:10 " jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);\n" +
  1060. 106517:51:10 '\n' +
  1061. 106617:51:10 " case 'poll':\n" +
  1062. 106717:51:10 " $snapshot = isset($body['snapshot']) && is_array($body['snapshot']) ? $body['snapshot'] : null;\n" +
  1063. 106817:51:10 " $score = isset($body['score']) ? (int) $body['score'] : null;\n" +
  1064. 106917:51:10 " $eliminated = !empty($body['eliminated']);\n" +
  1065. 107017:51:10 " $outgoing = isset($body['outgoing_shots']) && is_array($body['outgoing_shots']) ? $body['outgoing_shots'] : [];\n" +
  1066. 107117:51:10 ' $view = $store->viewFor($userId, $snapshot, $score, $eliminated, $outgoing);\n' +
  1067. 107217:51:10 ' $profile = $store->profilePayload($userId);\n' +
  1068. 107317:51:10 ' jsonOut([\n' +
  1069. 107417:51:10 " 'ok' => true,\n" +
  1070. 107517:51:10 " 'csrf' => csrfToken(),\n" +
  1071. 107617:51:10 " 'me' => $user,\n" +
  1072. 107717:51:10 " 'lobby' => $view['lobby'],\n" +
  1073. 107817:51:10 " 'incoming' => $view['incoming'],\n" +
  1074. 107917:51:10 " 'shot_results' => $view['shot_results'],\n" +
  1075. 108017:51:10 " 'shot_flights' => $view['shot_flights'] ?? [],\n" +
  1076. 108117:51:10 " 'lifetime_points' => $profile['lifetime_points'],\n" +
  1077. 108217:51:10 " 'locale' => $profile['locale'],\n" +
  1078. 108317:51:10 " 'last_planet' => $profile['last_planet'],\n" +
  1079. 108417:51:10 " 'blocks' => $profile['blocks'],\n" +
  1080. 108517:51:10 " 'planets' => $profile['planets'],\n" +
  1081. 108617:51:10 ' ]);\n' +
  1082. 108717:51:10 '\n' +
  1083. 108817:51:10 " case 'play_begin':\n" +
  1084. 108917:51:10 " $mode = (string) ($body['mode'] ?? 'solo');\n" +
  1085. 109017:51:10 ' $ses = $store->playBegin($userId, $mode);\n' +
  1086. 109117:51:10 " jsonOut(['ok' => true, 'csrf' => csrfToken(), 'token' => $ses['token']]);\n" +
  1087. 109217:51:10 '\n' +
  1088. 109317:51:10 " case 'play_finish':\n" +
  1089. 109417:51:10 " $token = (string) ($body['token'] ?? '');\n" +
  1090. 109517:51:10 " $score = isset($body['score']) ? (int) $body['score'] : 0;\n" +
  1091. 109617:51:10 ' $result = $store->playFinish($userId, $token, $score);\n' +
  1092. 109717:51:10 ' jsonOut([\n' +
  1093. 109817:51:10 " 'ok' => true,\n" +
  1094. 109917:51:10 " 'csrf' => csrfToken(),\n" +
  1095. 110017:51:10 " 'lifetime_points' => $result['lifetime_points'],\n" +
  1096. 110117:51:10 " 'awarded' => $result['awarded'],\n" +
  1097. 110217:51:10 " 'already' => $result['already'],\n" +
  1098. 110317:51:10 " 'blocks' => Blocks::present($result['lifetime_points']),\n" +
  1099. 110417:51:10 ' ]);\n' +
  1100. 110517:51:10 '\n' +
  1101. 110617:51:10 " case 'planet_save':\n" +
  1102. 110717:51:10 " $snap = $store->saveCustomPlanet($userId, is_array($body['planet'] ?? null) ? $body['planet'] : $body);\n" +
  1103. 110817:51:10 ' jsonOut([\n' +
  1104. 110917:51:10 " 'ok' => true,\n" +
  1105. 111017:51:10 " 'csrf' => csrfToken(),\n" +
  1106. 111117:51:10 " 'planet' => $snap,\n" +
  1107. 111217:51:10 " 'planets' => $store->listCustomPlanets($userId),\n" +
  1108. 111317:51:10 ' ]);\n' +
  1109. 111417:51:10 '\n' +
  1110. 111517:51:10 " case 'planet_delete':\n" +
  1111. 111617:51:10 " $store->deleteCustomPlanet($userId, (string) ($body['id'] ?? $body['planet_id'] ?? ''));\n" +
  1112. 111717:51:10 ' jsonOut([\n' +
  1113. 111817:51:10 " 'ok' => true,\n" +
  1114. 111917:51:10 " 'csrf' => csrfToken(),\n" +
  1115. 112017:51:10 " 'planets' => $store->listCustomPlanets($userId),\n" +
  1116. 112117:51:10 ' ]);\n' +
  1117. 112217:51:10 '\n' +
  1118. 112317:51:10 " case 'set_last_planet':\n" +
  1119. 112417:51:10 " $pid = $store->setLastPlanet($userId, (string) ($body['planet_id'] ?? ''));\n" +
  1120. 112517:51:10 " jsonOut(['ok' => true, 'csrf' => csrfToken(), 'last_planet' => $pid]);\n" +
  1121. 112617:51:10 '\n' +
  1122. 112717:51:10 " case 'set_locale':\n" +
  1123. 112817:51:10 " $locale = $store->setLocale($userId, (string) ($body['locale'] ?? ''));\n" +
  1124. 112917:51:10 " jsonOut(['ok' => true, 'csrf' => csrfToken(), 'locale' => $locale]);\n" +
  1125. 113017:51:10 '\n' +
  1126. 113117:51:10 ' default:\n' +
  1127. 113217:51:10 " jsonFail('Onbekende actie.', 404);\n" +
  1128. 113317:51:10 ' }\n' +
  1129. 113417:51:10 '} catch (RuntimeException $e) {\n' +
  1130. 113517:51:10 ' jsonFail($e->getMessage(), 400);\n' +
  1131. 113617:51:10 '} catch (Throwable $e) {\n' +
  1132. 113717:51:10 " jsonFail('Interne fout.', 500);\n" +
  1133. 113817:51:10 '}\n'
  1134. 113917:51:10
  1135. 114017:51:10 code: 'ERR_ASSERTION'
  1136. 114117:51:11 name: 'AssertionError'
  1137. 114217:51:11 expected:
  1138. 114317:51:11 actual: |-
  1139. 114417:51:11 <?php
  1140. 114517:51:11 declare(strict_types=1);
  1141. 114617:51:11 require __DIR__ . '/lib/bootstrap.php';
  1142. 114717:51:11 require __DIR__ . '/lib/Store.php';
  1143. 114817:51:11
  1144. 114917:51:11 $action = $_GET['action'] ?? $_POST['action'] ?? '';
  1145. 115017:51:11 if ($action === '') {
  1146. 115117:51:11 $body = readJsonBody();
  1147. 115217:51:11 $action = (string) ($body['action'] ?? '');
  1148. 115317:51:11 } else {
  1149. 115417:51:11 $body = readJsonBody();
  1150. 115517:51:11 }
  1151. 115617:51:11
  1152. 115717:51:11 try {
  1153. 115817:51:11 $configured = authConfigured();
  1154. 115917:51:11 $local = localDev();
  1155. 116017:51:11 $user = currentUser();
  1156. 116117:51:11
  1157. 116217:51:11 if ($action === 'me' || $action === '') {
  1158. 116317:51:11 $view = ['lobby' => null, 'incoming' => [], 'shot_results' => [], 'shot_flights' => []];
  1159. 116417:51:11 $profile = [
  1160. 116517:51:11 'lifetime_points' => 0,
  1161. 116617:51:11 'locale' => null,
  1162. 116717:51:11 'last_planet' => null,
  1163. 116817:51:11 'blocks' => [],
  1164. 116917:51:11 'planets' => [],
  1165. 117017:51:11 ];
  1166. 117117:51:11 if ($user) {
  1167. 117217:51:11 $store = Store::open();
  1168. 117317:51:11 $store->touchProfile($user['id'], $user['name'], $user['avatar'] ?? null);
  1169. 117417:51:11 $view = $store->viewFor($user['id']);
  1170. 117517:51:11 $profile = $store->profilePayload($user['id']);
  1171. 117617:51:11 }
  1172. 117717:51:11 jsonOut([
  1173. 117817:51:11 'ok' => true,
  1174. 117917:51:11 'configured' => $configured,
  1175. 118017:51:11 'local' => $local,
  1176. 118117:51:11 'csrf' => csrfToken(),
  1177. 118217:51:11 'me' => $user,
  1178. 118317:51:11 'lobby' => $view['lobby'],
  1179. 118417:51:11 'incoming' => $view['incoming'],
  1180. 118517:51:11 'shot_results' => $view['shot_results'],
  1181. 118617:51:11 'shot_flights' => $view['shot_flights'] ?? [],
  1182. 118717:51:11 'miss_chance_default' => METEORS_DEFAULT_MISS,
  1183. 118817:51:11 'flight_duration' => METEORS_FLIGHT_DURATION,
  1184. 118917:51:11 'login_url' => 'auth.php',
  1185. 119017:51:11 'logout_url' => 'logout.php',
  1186. 119117:51:11 'lifetime_points' => $profile['lifetime_points'],
  1187. 119217:51:11 'locale' => $profile['locale'],
  1188. 119317:51:11 'last_planet' => $profile['last_planet'],
  1189. 119417:51:11 'blocks' => $profile['blocks'],
  1190. 119517:51:11 'planets' => $profile['planets'],
  1191. 119617:51:11 ]);
  1192. 119717:51:11 }
  1193. 119817:51:11
  1194. 119917:51:11 if ($action === 'leaderboard') {
  1195. 120017:51:11 $scope = (string) ($body['scope'] ?? $_GET['scope'] ?? 'global');
  1196. 120117:51:11 if ($scope !== 'friends') {
  1197. 120217:51:11 $scope = 'global';
  1198. 120317:51:11 }
  1199. 120417:51:11 $store = Store::open();
  1200. 120517:51:11 $viewer = $user['id'] ?? null;
  1201. 120617:51:11 $token = $_SESSION['token'] ?? null;
  1202. 120717:51:11 [$known, $friends, $friendsError] = leaderboardKnownIdentities($store, $user, $token);
  1203. 120817:51:11 if ($scope === 'friends') {
  1204. 120917:51:11 if (!$user) {
  1205. 121017:51:11 jsonOut([
  1206. 121117:51:11 'ok' => true,
  1207. 121217:51:11 'scope' => 'friends',
  1208. 121317:51:11 'login_required' => true,
  1209. 121417:51:11 'players' => [],
  1210. 121517:51:11 'me' => null,
  1211. 121617:51:11 ]);
  1212. 121717:51:11 }
  1213. 121817:51:11 if ($friendsError !== null && $friends === []) {
  1214. 121917:51:11 jsonFail('De vriendenlijst is nu niet beschikbaar.', 502);
  1215. 122017:51:11 }
  1216. 122117:51:11 jsonOut([
  1217. 122217:51:11 'ok' => true,
  1218. 122317:51:11 'scope' => 'friends',
  1219. 122417:51:11 'login_required' => false,
  1220. 122517:51:11 'players' => $store->applyIdentities(
  1221. 122617:51:11 $store->friendsLeaderboard($friends, 10, $viewer),
  1222. 122717:51:11 $known
  1223. 122817:51:11 ),
  1224. 122917:51:11 'me' => $viewer,
  1225. 123017:51:11 ]);
  1226. 123117:51:11 }
  1227. 123217:51:11 jsonOut([
  1228. 123317:51:11 'ok' => true,
  1229. 123417:51:11 'scope' => 'global',
  1230. 123517:51:11 'login_required' => false,
  1231. 123617:51:11 'players' => $store->applyIdentities($store->topPlayers(10, $viewer), $known),
  1232. 123717:51:11 'me' => $viewer,
  1233. 123817:51:11 ]);
  1234. 123917:51:11 }
  1235. 124017:51:11
  1236. 124117:51:11 if ($action === 'test_login') {
  1237. 124217:51:11 if (!localDev()) {
  1238. 124317:51:11 jsonFail('Niet beschikbaar.', 403);
  1239. 124417:51:11 }
  1240. 124517:51:11 requireCsrf();
  1241. 124617:51:11 $who = (string) ($body['user'] ?? $_GET['user'] ?? '');
  1242. 124717:51:11 if (!in_array($who, ['test_user_1', 'test_user_2'], true)) {
  1243. 124817:51:11 jsonFail('Onbekende testgebruiker.');
  1244. 124917:51:11 }
  1245. 125017:51:11 loginUser('local:' . $who, $who);
  1246. 125117:51:11 jsonOut(['ok' => true, 'me' => currentUser(), 'csrf' => csrfToken()]);
  1247. 125217:51:11 }
  1248. 125317:51:11
  1249. 125417:51:11 if (!$user && $action !== 'me') {
  1250. 125517:51:11 jsonFail('Log in om verder te gaan.', 401);
  1251. 125617:51:11 }
  1252. 125717:51:11
  1253. 125817:51:11 requireCsrf();
  1254. 125917:51:11 $store = Store::open();
  1255. 126017:51:11 $userId = $user['id'];
  1256. 126117:51:11 $name = $user['name'];
  1257. 126217:51:11
  1258. 126317:51:11 switch ($action) {
  1259. 126417:51:11 case 'lobby_create':
  1260. 126517:51:11 $miss = isset($body['miss_chance']) ? (float) $body['miss_chance'] : METEORS_DEFAULT_MISS;
  1261. 126617:51:11 $planet = (string) ($body['planet_id'] ?? '');
  1262. 126717:51:11 $lobby = $store->createLobby($userId, $name, $miss, $planet);
  1263. 126817:51:11 jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);
  1264. 126917:51:11
  1265. 127017:51:11 case 'lobby_join':
  1266. 127117:51:11 $code = (string) ($body['code'] ?? '');
  1267. 127217:51:11 $planet = (string) ($body['planet_id'] ?? '');
  1268. 127317:51:11 $lobby = $store->joinLobby($userId, $name, $code, $planet);
  1269. 127417:51:11 jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);
  1270. 127517:51:11
  1271. 127617:51:11 case 'lobby_set_planet':
  1272. 127717:51:11 $planet = (string) ($body['planet_id'] ?? '');
  1273. 127817:51:11 $lobby = $store->setPlanet($userId, $planet);
  1274. 127917:51:11 jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);
  1275. 128017:51:11
  1276. 128117:51:11 case 'lobby_leave':
  1277. 128217:51:11 $store->leaveLobby($userId);
  1278. 128317:51:11 jsonOut(['ok' => true, 'lobby' => null, 'csrf' => csrfToken()]);
  1279. 128417:51:11
  1280. 128517:51:11 case 'lobby_ready':
  1281. 128617:51:11 $ready = (bool) ($body['ready'] ?? true);
  1282. 128717:51:11 $lobby = $store->setReady($userId, $ready);
  1283. 128817:51:11 jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);
  1284. 128917:51:11
  1285. 129017:51:11 case 'lobby_start':
  1286. 129117:51:11 $lobby = $store->startGame($userId);
  1287. 129217:51:11 jsonOut(['ok' => true, 'lobby' => $store->presentLobby($lobby, $userId), 'csrf' => csrfToken()]);
  1288. 129317:51:11
  1289. 129417:51:11 case 'poll':
  1290. 129517:51:11 $snapshot = isset($body['snapshot']) && is_array($body['snapshot']) ? $body['snapshot'] : null;
  1291. 129617:51:11 $score = isset($body['score']) ? (int) $body['score'] : null;
  1292. 129717:51:11 $eliminated = !empty($body['eliminated']);
  1293. 129817:51:11 $outgoing = isset($body['outgoing_shots']) && is_array($body['outgoing_shots']) ? $body['outgoing_shots'] : [];
  1294. 129917:51:11 $view = $store->viewFor($userId, $snapshot, $score, $eliminated, $outgoing);
  1295. 130017:51:11 $profile = $store->profilePayload($userId);
  1296. 130117:51:11 jsonOut([
  1297. 130217:51:11 'ok' => true,
  1298. 130317:51:11 'csrf' => csrfToken(),
  1299. 130417:51:11 'me' => $user,
  1300. 130517:51:11 'lobby' => $view['lobby'],
  1301. 130617:51:11 'incoming' => $view['incoming'],
  1302. 130717:51:11 'shot_results' => $view['shot_results'],
  1303. 130817:51:11 'shot_flights' => $view['shot_flights'] ?? [],
  1304. 130917:51:11 'lifetime_points' => $profile['lifetime_points'],
  1305. 131017:51:11 'locale' => $profile['locale'],
  1306. 131117:51:11 'last_planet' => $profile['last_planet'],
  1307. 131217:51:11 'blocks' => $profile['blocks'],
  1308. 131317:51:11 'planets' => $profile['planets'],
  1309. 131417:51:11 ]);
  1310. 131517:51:11
  1311. 131617:51:11 case 'play_begin':
  1312. 131717:51:11 $mode = (string) ($body['mode'] ?? 'solo');
  1313. 131817:51:11 $ses = $store->playBegin($userId, $mode);
  1314. 131917:51:11 jsonOut(['ok' => true, 'csrf' => csrfToken(), 'token' => $ses['token']]);
  1315. 132017:51:11
  1316. 132117:51:11 case 'play_finish':
  1317. 132217:51:11 $token = (string) ($body['token'] ?? '');
  1318. 132317:51:11 $score = isset($body['score']) ? (int) $body['score'] : 0;
  1319. 132417:51:11 $result = $store->playFinish($userId, $token, $score);
  1320. 132517:51:11 jsonOut([
  1321. 132617:51:11 'ok' => true,
  1322. 132717:51:11 'csrf' => csrfToken(),
  1323. 132817:51:11 'lifetime_points' => $result['lifetime_points'],
  1324. 132917:51:11 'awarded' => $result['awarded'],
  1325. 133017:51:11 'already' => $result['already'],
  1326. 133117:51:11 'blocks' => Blocks::present($result['lifetime_points']),
  1327. 133217:51:11 ]);
  1328. 133317:51:11
  1329. 133417:51:11 case 'planet_save':
  1330. 133517:51:11 $snap = $store->saveCustomPlanet($userId, is_array($body['planet'] ?? null) ? $body['planet'] : $body);
  1331. 133617:51:11 jsonOut([
  1332. 133717:51:11 'ok' => true,
  1333. 133817:51:11 'csrf' => csrfToken(),
  1334. 133917:51:11 'planet' => $snap,
  1335. 134017:51:11 'planets' => $store->listCustomPlanets($userId),
  1336. 134117:51:11 ]);
  1337. 134217:51:11
  1338. 134317:51:11 case 'planet_delete':
  1339. 134417:51:11 $store->deleteCustomPlanet($userId, (string) ($body['id'] ?? $body['planet_id'] ?? ''));
  1340. 134517:51:11 jsonOut([
  1341. 134617:51:11 'ok' => true,
  1342. 134717:51:11 'csrf' => csrfToken(),
  1343. 134817:51:11 'planets' => $store->listCustomPlanets($userId),
  1344. 134917:51:11 ]);
  1345. 135017:51:11
  1346. 135117:51:11 case 'set_last_planet':
  1347. 135217:51:11 $pid = $store->setLastPlanet($userId, (string) ($body['planet_id'] ?? ''));
  1348. 135317:51:11 jsonOut(['ok' => true, 'csrf' => csrfToken(), 'last_planet' => $pid]);
  1349. 135417:51:11
  1350. 135517:51:11 case 'set_locale':
  1351. 135617:51:11 $locale = $store->setLocale($userId, (string) ($body['locale'] ?? ''));
  1352. 135717:51:11 jsonOut(['ok' => true, 'csrf' => csrfToken(), 'locale' => $locale]);
  1353. 135817:51:11
  1354. 135917:51:11 default:
  1355. 136017:51:11 jsonFail('Onbekende actie.', 404);
  1356. 136117:51:11 }
  1357. 136217:51:11 } catch (RuntimeException $e) {
  1358. 136317:51:11 jsonFail($e->getMessage(), 400);
  1359. 136417:51:11 } catch (Throwable $e) {
  1360. 136517:51:11 jsonFail('Interne fout.', 500);
  1361. 136617:51:11 }
  1362. 136717:51:11
  1363. 136817:51:11 operator: 'match'
  1364. 136917:51:11 stack: |-
  1365. 137017:51:11 TestContext.<anonymous> (/workspace/test/leaderboard.test.js:52:10)
  1366. 137117:51:11 Test.runInAsyncScope (node:async_hooks:206:9)
  1367. 137217:51:11 Test.run (node:internal/test_runner/test:796:25)
  1368. 137317:51:11 Suite.processPendingSubtests (node:internal/test_runner/test:526:18)
  1369. 137417:51:11 Test.postRun (node:internal/test_runner/test:889:19)
  1370. 137517:51:11 Test.run (node:internal/test_runner/test:835:12)
  1371. 137617:51:11 async Suite.processPendingSubtests (node:internal/test_runner/test:526:7)
  1372. 137717:51:11 ...
  1373. 137817:51:11 # Subtest: translates the leaderboard in every language
  1374. 137917:51:11 ok 4 - translates the leaderboard in every language
  1375. 138017:51:11 ---
  1376. 138117:51:11 duration_ms: 0.343107
  1377. 138217:51:11 ...
  1378. 138317:51:11 1..4
  1379. 138417:51:11not ok 35 - Leaderboard wiring (t1247)
  1380. 138517:51:11 ---
  1381. 138617:51:11 duration_ms: 8.973
  1382. 138717:51:11 type: 'suite'
  1383. 138817:51:11 location: '/workspace/test/leaderboard.test.js:18:1'
  1384. 138917:51:11 failureType: 'subtestsFailed'
  1385. 139017:51:11 error: '1 subtest failed'
  1386. 139117:51:11 code: 'ERR_TEST_FAILURE'
  1387. 139217:51:11 ...
  1388. 139317:51:11# Subtest: Avatar helpers (t1247)
  1389. 139417:51:11 # Subtest: builds initials and rejects a javascript picture URL
  1390. 139517:51:11 ok 1 - builds initials and rejects a javascript picture URL
  1391. 139617:51:11 ---
  1392. 139717:51:11 duration_ms: 0.849764
  1393. 139817:51:11 ...
  1394. 139917:51:11 1..1
  1395. 140017:51:11ok 36 - Avatar helpers (t1247)
  1396. 140117:51:11 ---
  1397. 140217:51:11 duration_ms: 1.030304
  1398. 140317:51:11 type: 'suite'
  1399. 140417:51:11 ...
  1400. 140517:51:11# Subtest: Column lock and game over
  1401. 140617:51:11 # Subtest: a column filled from floor to top becomes dark gray and locked
  1402. 140717:51:11 ok 1 - a column filled from floor to top becomes dark gray and locked
  1403. 140817:51:11 ---
  1404. 140917:51:11 duration_ms: 6.407159
  1405. 141017:51:11 ...
  1406. 141117:51:11 # Subtest: a new spawn never lands in a locked column
  1407. 141217:51:11 ok 2 - a new spawn never lands in a locked column
  1408. 141317:51:11 ---
  1409. 141417:51:11 duration_ms: 7.602615
  1410. 141517:51:11 ...
  1411. 141617:51:11 # Subtest: a nearly full column (12 blocks) is not locked
  1412. 141717:51:11 ok 3 - a nearly full column (12 blocks) is not locked
  1413. 141817:51:11 ---
  1414. 141917:51:11 duration_ms: 3.424922
  1415. 142017:51:11 ...
  1416. 142117:51:11 # Subtest: when every column is locked the player loses
  1417. 142217:51:11 ok 4 - when every column is locked the player loses
  1418. 142317:51:11 ---
  1419. 142417:51:11 duration_ms: 7.59487
  1420. 142517:51:11 ...
  1421. 142617:51:11 # Subtest: game over does not fire while at least one column is open
  1422. 142717:51:11 ok 5 - game over does not fire while at least one column is open
  1423. 142817:51:11 ---
  1424. 142917:51:11 duration_ms: 2.339765
  1425. 143017:51:11 ...
  1426. 143117:51:11 1..5
  1427. 143217:51:11ok 37 - Column lock and game over
  1428. 143317:51:11 ---
  1429. 143417:51:11 duration_ms: 29.757006
  1430. 143517:51:11 type: 'suite'
  1431. 143617:51:11 ...
  1432. 143717:51:11# Subtest: LoginPrompt decision (t1246)
  1433. 143817:51:11 # Subtest: shows the prompt only when logged out, not remembered, not an auth return
  1434. 143917:51:11 ok 1 - shows the prompt only when logged out, not remembered, not an auth return
  1435. 144017:51:11 ---
  1436. 144117:51:11 duration_ms: 1.273503
  1437. 144217:51:11 ...
  1438. 144317:51:11 # Subtest: stores the session choice in the given storage under a stable key
  1439. 144417:51:11 ok 2 - stores the session choice in the given storage under a stable key
  1440. 144517:51:11 ---
  1441. 144617:51:11 duration_ms: 0.385046
  1442. 144717:51:11 ...
  1443. 144817:51:11 # Subtest: treats a missing or throwing storage as not remembered
  1444. 144917:51:11 ok 3 - treats a missing or throwing storage as not remembered
  1445. 145017:51:11 ---
  1446. 145117:51:11 duration_ms: 0.289647
  1447. 145217:51:11 ...
  1448. 145317:51:11 # Subtest: detects a return from the auth callback or login URL
  1449. 145417:51:11 ok 4 - detects a return from the auth callback or login URL
  1450. 145517:51:11 ---
  1451. 145617:51:11 duration_ms: 0.770033
  1452. 145717:51:11 ...
  1453. 145817:51:11 1..4
  1454. 145917:51:11ok 38 - LoginPrompt decision (t1246)
  1455. 146017:51:11 ---
  1456. 146117:51:11 duration_ms: 4.513145
  1457. 146217:51:11 type: 'suite'
  1458. 146317:51:11 ...
  1459. 146417:51:11# Subtest: LoginPrompt wiring (t1246)
  1460. 146517:51:11 # Subtest: is included in the game build before main.js
  1461. 146617:51:11 ok 1 - is included in the game build before main.js
  1462. 146717:51:11 ---
  1463. 146817:51:11 duration_ms: 0.701654
  1464. 146917:51:11 ...
  1465. 147017:51:11 # Subtest: has a startup dialog with Log in and Play as Guest, in the game style
  1466. 147117:51:11 ok 2 - has a startup dialog with Log in and Play as Guest, in the game style
  1467. 147217:51:11 ---
  1468. 147317:51:11 duration_ms: 0.492069
  1469. 147417:51:11 ...
  1470. 147517:51:11 # Subtest: uses the existing login URL (menu, not the online-panel return) and remembers the session choice
  1471. 147617:51:11 ok 3 - uses the existing login URL (menu, not the online-panel return) and remembers the session choice
  1472. 147717:51:11 ---
  1473. 147817:51:11 duration_ms: 2.921773
  1474. 147917:51:11 ...
  1475. 148017:51:11 # Subtest: translates the prompt in every language
  1476. 148117:51:11 ok 4 - translates the prompt in every language
  1477. 148217:51:11 ---
  1478. 148317:51:11 duration_ms: 1.041185
  1479. 148417:51:11 ...
  1480. 148517:51:11 1..4
  1481. 148617:51:11ok 39 - LoginPrompt wiring (t1246)
  1482. 148717:51:11 ---
  1483. 148817:51:11 duration_ms: 59.324493
  1484. 148917:51:11 type: 'suite'
  1485. 149017:51:11 ...
  1486. 149117:51:11# Subtest: Thrown blocks collide with falling blocks (t1108)
  1487. 149217:51:11 # Subtest: mergeManualWithFalling averages velocity, decel and jumpHeight by block count
  1488. 149317:51:11 ok 1 - mergeManualWithFalling averages velocity, decel and jumpHeight by block count
  1489. 149417:51:11 ---
  1490. 149517:51:11 duration_ms: 2.854465
  1491. 149617:51:11 ...
  1492. 149717:51:11 # Subtest: a thrown block merges with a falling block and they never pass through
  1493. 149817:51:11 ok 2 - a thrown block merges with a falling block and they never pass through
  1494. 149917:51:11 ---
  1495. 150017:51:11 duration_ms: 7.050854
  1496. 150117:51:11 ...
  1497. 150217:51:11 # Subtest: a stack of two falling blocks merges with the thrown block as one cluster of three
  1498. 150317:51:11 ok 3 - a stack of two falling blocks merges with the thrown block as one cluster of three
  1499. 150417:51:11 ---
  1500. 150517:51:11 duration_ms: 7.148317
  1501. 150617:51:11 ...
  1502. 150717:51:11 # Subtest: later falling cargo on a fromManual cluster also averages and does not pass through
  1503. 150817:51:11 ok 4 - later falling cargo on a fromManual cluster also averages and does not pass through
  1504. 150917:51:11 ---
  1505. 151017:51:11 duration_ms: 5.514695
  1506. 151117:51:11 ...
  1507. 151217:51:11 # Subtest: a fast substep that would cross still merges; they never pass through
  1508. 151317:51:11 ok 5 - a fast substep that would cross still merges; they never pass through
  1509. 151417:51:11 ---
  1510. 151517:51:11 duration_ms: 0.361803
  1511. 151617:51:11 ...
  1512. 151717:51:11 # Subtest: a normal match-rocket does not average falling cargo (existing attach rule)
  1513. 151817:51:11 ok 6 - a normal match-rocket does not average falling cargo (existing attach rule)
  1514. 151917:51:11 ---
  1515. 152017:51:11 duration_ms: 0.35007
  1516. 152117:51:11 ...
  1517. 152217:51:11 1..6
  1518. 152317:51:11ok 40 - Thrown blocks collide with falling blocks (t1108)
  1519. 152417:51:11 ---
  1520. 152517:51:11 duration_ms: 25.088918
  1521. 152617:51:11 type: 'suite'
  1522. 152717:51:11 ...
  1523. 152817:51:11# Subtest: Match detection and launch
  1524. 152917:51:11 # Subtest: does not match two adjacent blocks of the same color
  1525. 153017:51:11 ok 1 - does not match two adjacent blocks of the same color
  1526. 153117:51:11 ---
  1527. 153217:51:11 duration_ms: 2.39031
  1528. 153317:51:11 ...
  1529. 153417:51:11 # Subtest: does not match a diagonal of three
  1530. 153517:51:11 ok 2 - does not match a diagonal of three
  1531. 153617:51:11 ---
  1532. 153717:51:11 duration_ms: 0.433368
  1533. 153817:51:11 ...
  1534. 153917:51:11 # Subtest: a horizontal row of 3 turns gray, links, and launches together
  1535. 154017:51:11 ok 3 - a horizontal row of 3 turns gray, links, and launches together
  1536. 154117:51:11 ---
  1537. 154217:51:11 duration_ms: 2.728719
  1538. 154317:51:11 ...
  1539. 154417:51:11 # Subtest: a vertical column of 3 launches with 120% jump height
  1540. 154517:51:11 ok 4 - a vertical column of 3 launches with 120% jump height
  1541. 154617:51:11 ---
  1542. 154717:51:11 duration_ms: 0.665256
  1543. 154817:51:11 ...
  1544. 154917:51:11 # Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks)
  1545. 155017:51:11 ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks)
  1546. 155117:51:11 ---
  1547. 155217:51:11 duration_ms: 0.503731
  1548. 155317:51:11 ...
  1549. 155417:51:11 # Subtest: everything sitting on top of a match flies with it, keeping its color
  1550. 155517:51:11 ok 6 - everything sitting on top of a match flies with it, keeping its color
  1551. 155617:51:11 ---
  1552. 155717:51:11 duration_ms: 0.542564
  1553. 155817:51:11 ...
  1554. 155917:51:11 # Subtest: blocks below a vertical match stay on the ground
  1555. 156017:51:11 ok 7 - blocks below a vertical match stay on the ground
  1556. 156117:51:11 ---
  1557. 156217:51:11 duration_ms: 0.41857
  1558. 156317:51:11 ...
  1559. 156417:51:11 # Subtest: two disjoint horizontal matches become two clusters
  1560. 156517:51:11 ok 8 - two disjoint horizontal matches become two clusters
  1561. 156617:51:11 ---
  1562. 156717:51:11 duration_ms: 0.502578
  1563. 156817:51:11 ...
  1564. 156917:51:11 # Subtest: two matches in the same columns fly as one linked cluster
  1565. 157017:51:11 ok 9 - two matches in the same columns fly as one linked cluster
  1566. 157117:51:11 ---
  1567. 157217:51:11 duration_ms: 0.486798
  1568. 157317:51:11 ...
  1569. 157417:51:11 # Subtest: tick itself finds and launches a match after a swap
  1570. 157517:51:11 ok 10 - tick itself finds and launches a match after a swap
  1571. 157617:51:11 ---
  1572. 157717:51:11 duration_ms: 0.765955
  1573. 157817:51:11 ...
  1574. 157917:51:11 1..10
  1575. 158017:51:11ok 41 - Match detection and launch
  1576. 158117:51:11 ---
  1577. 158217:51:11 duration_ms: 11.726696
  1578. 158317:51:11 type: 'suite'
  1579. 158417:51:11 ...
  1580. 158517:51:11# Subtest: Launch physics
  1581. 158617:51:11 # Subtest: reaches the jump height in riseTime, then eases into a constant descent
  1582. 158717:51:11 ok 1 - reaches the jump height in riseTime, then eases into a constant descent
  1583. 158817:51:11 ---
  1584. 158917:51:11 duration_ms: 98.432422
  1585. 159017:51:11 ...
  1586. 159117:51:11 1..1
  1587. 159217:51:11ok 42 - Launch physics
  1588. 159317:51:11 ---
  1589. 159417:51:11 duration_ms: 98.644342
  1590. 159517:51:11 type: 'suite'
  1591. 159617:51:11 ...
  1592. 159717:51:11# Subtest: Main menu modes (t1201)
  1593. 159817:51:11 # Subtest: menu has Play + Survival, no Offline Battle button
  1594. 159917:51:11 ok 1 - menu has Play + Survival, no Offline Battle button
  1595. 160017:51:11 ---
  1596. 160117:51:11 duration_ms: 1.57977
  1597. 160217:51:11 ...
  1598. 160317:51:11 # Subtest: Play opens the bot-rounds planet select, Survival the endless solo one
  1599. 160417:51:11 ok 2 - Play opens the bot-rounds planet select, Survival the endless solo one
  1600. 160517:51:11 ---
  1601. 160617:51:11 duration_ms: 0.324362
  1602. 160717:51:11 ...
  1603. 160817:51:11 # Subtest: Survival is translated in every language; old name keys are gone
  1604. 160917:51:11 ok 3 - Survival is translated in every language; old name keys are gone
  1605. 161017:51:11 ---
  1606. 161117:51:11 duration_ms: 0.31769
  1607. 161217:51:11 ...
  1608. 161317:51:12 # Subtest: no player-facing text still names the old "Offline Battle" mode or "solo" play
  1609. 161417:51:12 ok 4 - no player-facing text still names the old "Offline Battle" mode or "solo" play
  1610. 161517:51:12 ---
  1611. 161617:51:12 duration_ms: 10.408318
  1612. 161717:51:12 ...
  1613. 161817:51:12 # Subtest: mode labels: planet select and pause menu name the mode
  1614. 161917:51:12 ok 5 - mode labels: planet select and pause menu name the mode
  1615. 162017:51:12 ---
  1616. 162117:51:12 duration_ms: 0.268998
  1617. 162217:51:12 ...
  1618. 162317:51:12 1..5
  1619. 162417:51:12ok 43 - Main menu modes (t1201)
  1620. 162517:51:12 ---
  1621. 162617:51:12 duration_ms: 15.186544
  1622. 162717:51:12 type: 'suite'
  1623. 162817:51:12 ...
  1624. 162917:51:12# Subtest: MiniLayout (t1125 / t1127 / t1131 / t1133)
  1625. 163017:51:12 # Subtest: uses sides on a wide desktop and top on a narrow or portrait one
  1626. 163117:51:12 ok 1 - uses sides on a wide desktop and top on a narrow or portrait one
  1627. 163217:51:12 ---
  1628. 163317:51:12 duration_ms: 3.065273
  1629. 163417:51:12 ...
  1630. 163517:51:12 # Subtest: anchors minis to the outer edges and fills inward, bottom-aligned (t1133)
  1631. 163617:51:12 ok 2 - anchors minis to the outer edges and fills inward, bottom-aligned (t1133)
  1632. 163717:51:12 ---
  1633. 163817:51:12 duration_ms: 4.930463
  1634. 163917:51:12 ...
  1635. 164017:51:12 # Subtest: fits 8 bots in a single row at 1400 and 1920, and wraps on a narrower wide screen (t1127)
  1636. 164117:51:12 ok 3 - fits 8 bots in a single row at 1400 and 1920, and wraps on a narrower wide screen (t1127)
  1637. 164217:51:12 ---
  1638. 164317:51:12 duration_ms: 0.824245
  1639. 164417:51:12 ...
  1640. 164517:51:12 # Subtest: shrinks minis so stacked rows stay under the HUD
  1641. 164617:51:12 ok 4 - shrinks minis so stacked rows stay under the HUD
  1642. 164717:51:12 ---
  1643. 164817:51:12 duration_ms: 0.28617
  1644. 164917:51:12 ...
  1645. 165017:51:12 # Subtest: solo (n=0) never reserves minis
  1646. 165117:51:12 ok 5 - solo (n=0) never reserves minis
  1647. 165217:51:12 ---
  1648. 165317:51:12 duration_ms: 0.288043
  1649. 165417:51:12 ...
  1650. 165517:51:12 1..5
  1651. 165617:51:12ok 44 - MiniLayout (t1125 / t1127 / t1131 / t1133)
  1652. 165717:51:12 ---
  1653. 165817:51:12 duration_ms: 11.262961
  1654. 165917:51:12 type: 'suite'
  1655. 166017:51:12 ...
  1656. 166117:51:12# Subtest: Online flight visuals (t1125)
  1657. 166217:51:12 # Subtest: classifies player, enemy, and miss kinds
  1658. 166317:51:12 ok 1 - classifies player, enemy, and miss kinds
  1659. 166417:51:12 ---
  1660. 166517:51:12 duration_ms: 0.350441
  1661. 166617:51:12 ...
  1662. 166717:51:12 # Subtest: arc is a parabola that peaks at mid-flight above the chord
  1663. 166817:51:12 ok 2 - arc is a parabola that peaks at mid-flight above the chord
  1664. 166917:51:12 ---
  1665. 167017:51:12 duration_ms: 0.441203
  1666. 167117:51:12 ...
  1667. 167217:51:12 # Subtest: arc height scales with distance, clamped
  1668. 167317:51:12 ok 3 - arc height scales with distance, clamped
  1669. 167417:51:12 ---
  1670. 167517:51:12 duration_ms: 0.31801
  1671. 167617:51:12 ...
  1672. 167717:51:12 1..3
  1673. 167817:51:12ok 45 - Online flight visuals (t1125)
  1674. 167917:51:12 ---
  1675. 168017:51:12 duration_ms: 1.534204
  1676. 168117:51:12 type: 'suite'
  1677. 168217:51:12 ...
  1678. 168317:51:12# Subtest: MiniPredict (t1182)
  1679. 168417:51:12 # Subtest: fall speed comes from the opponent planet (13 / fallTime)
  1680. 168517:51:12 ok 1 - fall speed comes from the opponent planet (13 / fallTime)
  1681. 168617:51:12 ---
  1682. 168717:51:12 duration_ms: 1.45767
  1683. 168817:51:12 ...
  1684. 168917:51:12 # Subtest: extrapolates a falling block downwards between snapshots, sub-cell
  1685. 169017:51:12 ok 2 - extrapolates a falling block downwards between snapshots, sub-cell
  1686. 169117:51:12 ---
  1687. 169217:51:12 duration_ms: 3.683059
  1688. 169317:51:12 ...
  1689. 169417:51:12 # Subtest: never predicts a landing below the stack, and leaves non-falling blocks alone
  1690. 169517:51:12 ok 3 - never predicts a landing below the stack, and leaves non-falling blocks alone
  1691. 169617:51:12 ---
  1692. 169717:51:12 duration_ms: 3.14809
  1693. 169817:51:12 ...
  1694. 169917:51:12 # Subtest: caps extrapolation when snapshots stop coming
  1695. 170017:51:12 ok 4 - caps extrapolation when snapshots stop coming
  1696. 170117:51:12 ---
  1697. 170217:51:12 duration_ms: 5.095684
  1698. 170317:51:12 ...
  1699. 170417:51:12 # Subtest: a repeated snapshot (opponent has not polled) does not restart the prediction
  1700. 170517:51:12 ok 5 - a repeated snapshot (opponent has not polled) does not restart the prediction
  1701. 170617:51:12 ---
  1702. 170717:51:12 duration_ms: 0.50331
  1703. 170817:51:12 ...
  1704. 170917:51:12 # Subtest: a late snapshot is placed at the time it was taken (sender clock offset)
  1705. 171017:51:12 ok 6 - a late snapshot is placed at the time it was taken (sender clock offset)
  1706. 171117:51:12 ---
  1707. 171217:51:12 duration_ms: 0.245063
  1708. 171317:51:12 ...
  1709. 171417:51:12 # Subtest: reconciles smoothly: a lagging block catches up, a leading one never moves up
  1710. 171517:51:12 ok 7 - reconciles smoothly: a lagging block catches up, a leading one never moves up
  1711. 171617:51:12 ---
  1712. 171717:51:12 duration_ms: 0.823724
  1713. 171817:51:12 ...
  1714. 171917:51:12 # Subtest: snaps when far off (e.g. block jumped / was dragged) and drops blocks that landed
  1715. 172017:51:12 ok 8 - snaps when far off (e.g. block jumped / was dragged) and drops blocks that landed
  1716. 172117:51:12 ---
  1717. 172217:51:12 duration_ms: 0.283064
  1718. 172317:51:12 ...
  1719. 172417:51:12 # Subtest: steady 750 ms snapshots of a constant fall render as one smooth descent
  1720. 172517:51:12 ok 9 - steady 750 ms snapshots of a constant fall render as one smooth descent
  1721. 172617:51:12 ---
  1722. 172717:51:12 duration_ms: 0.932891
  1723. 172817:51:12 ...
  1724. 172917:51:12 1..9
  1725. 173017:51:12ok 46 - MiniPredict (t1182)
  1726. 173117:51:12 ---
  1727. 173217:51:12 duration_ms: 18.249563
  1728. 173317:51:12 type: 'suite'
  1729. 173417:51:12 ...
  1730. 173517:51:12# Subtest: Top-row mini scaling (t1203)
  1731. 173617:51:12 # Subtest: constants: 80 px max, 32 px min canvas width, 9 px min label font
  1732. 173717:51:12 ok 1 - constants: 80 px max, 32 px min canvas width, 9 px min label font
  1733. 173817:51:12 ---
  1734. 173917:51:12 duration_ms: 1.890327
  1735. 174017:51:12 ...
  1736. 174117:51:12 # Subtest: 412x915, 6 opponents: all fit above the field, inside the screen, no overlap
  1737. 174217:51:12 ok 2 - 412x915, 6 opponents: all fit above the field, inside the screen, no overlap
  1738. 174317:51:12 ---
  1739. 174417:51:12 duration_ms: 2.210992
  1740. 174517:51:12 ...
  1741. 174617:51:12 # Subtest: 412x915, 7 opponents: all fit above the field, inside the screen, no overlap
  1742. 174717:51:12 ok 3 - 412x915, 7 opponents: all fit above the field, inside the screen, no overlap
  1743. 174817:51:12 ---
  1744. 174917:51:12 duration_ms: 0.348097
  1745. 175017:51:12 ...
  1746. 175117:51:12 # Subtest: 412x915, 8 opponents: all fit above the field, inside the screen, no overlap
  1747. 175217:51:12 ok 4 - 412x915, 8 opponents: all fit above the field, inside the screen, no overlap
  1748. 175317:51:12 ---
  1749. 175417:51:12 duration_ms: 0.311939
  1750. 175517:51:12 ...
  1751. 175617:51:12 # Subtest: 412x915, 10 opponents: all fit above the field, inside the screen, no overlap
  1752. 175717:51:12 ok 5 - 412x915, 10 opponents: all fit above the field, inside the screen, no overlap
  1753. 175817:51:12 ---
  1754. 175917:51:12 duration_ms: 0.202903
  1755. 176017:51:12 ...
  1756. 176117:51:12 # Subtest: 412x915, 12 opponents: all fit above the field, inside the screen, no overlap
  1757. 176217:51:12 ok 6 - 412x915, 12 opponents: all fit above the field, inside the screen, no overlap
  1758. 176317:51:12 ---
  1759. 176417:51:12 duration_ms: 0.277815
  1760. 176517:51:12 ...
  1761. 176617:51:12 # Subtest: 412x915, 16 opponents: all fit above the field, inside the screen, no overlap
  1762. 176717:51:12 ok 7 - 412x915, 16 opponents: all fit above the field, inside the screen, no overlap
  1763. 176817:51:12 ---
  1764. 176917:51:12 duration_ms: 0.251685
  1765. 177017:51:12 ...
  1766. 177117:51:12 # Subtest: 360x800, 6 opponents: all fit above the field, inside the screen, no overlap
  1767. 177217:51:12 ok 8 - 360x800, 6 opponents: all fit above the field, inside the screen, no overlap
  1768. 177317:51:12 ---
  1769. 177417:51:12 duration_ms: 0.214615
  1770. 177517:51:12 ...
  1771. 177617:51:12 # Subtest: 360x800, 7 opponents: all fit above the field, inside the screen, no overlap
  1772. 177717:51:12 ok 9 - 360x800, 7 opponents: all fit above the field, inside the screen, no overlap
  1773. 177817:51:12 ---
  1774. 177917:51:12 duration_ms: 0.291189
  1775. 178017:51:12 ...
  1776. 178117:51:12 # Subtest: 360x800, 8 opponents: all fit above the field, inside the screen, no overlap
  1777. 178217:51:12 ok 10 - 360x800, 8 opponents: all fit above the field, inside the screen, no overlap
  1778. 178317:51:12 ---
  1779. 178417:51:12 duration_ms: 0.220015
  1780. 178517:51:12 ...
  1781. 178617:51:12 # Subtest: 360x800, 10 opponents: all fit above the field, inside the screen, no overlap
  1782. 178717:51:12 ok 11 - 360x800, 10 opponents: all fit above the field, inside the screen, no overlap
  1783. 178817:51:12 ---
  1784. 178917:51:12 duration_ms: 0.157146
  1785. 179017:51:12 ...
  1786. 179117:51:12 # Subtest: 360x800, 12 opponents: all fit above the field, inside the screen, no overlap
  1787. 179217:51:12 ok 12 - 360x800, 12 opponents: all fit above the field, inside the screen, no overlap
  1788. 179317:51:12 ---
  1789. 179417:51:12 duration_ms: 0.157297
  1790. 179517:51:12 ...
  1791. 179617:51:12 # Subtest: 360x800, 16 opponents: all fit above the field, inside the screen, no overlap
  1792. 179717:51:12 ok 13 - 360x800, 16 opponents: all fit above the field, inside the screen, no overlap
  1793. 179817:51:12 ---
  1794. 179917:51:12 duration_ms: 0.218552
  1795. 180017:51:12 ...
  1796. 180117:51:12 # Subtest: 460x900, 6 opponents: all fit above the field, inside the screen, no overlap
  1797. 180217:51:12 ok 14 - 460x900, 6 opponents: all fit above the field, inside the screen, no overlap
  1798. 180317:51:12 ---
  1799. 180417:51:12 duration_ms: 1.03316
  1800. 180517:51:12 ...
  1801. 180617:51:12 # Subtest: 460x900, 7 opponents: all fit above the field, inside the screen, no overlap
  1802. 180717:51:12 ok 15 - 460x900, 7 opponents: all fit above the field, inside the screen, no overlap
  1803. 180817:51:12 ---
  1804. 180917:51:12 duration_ms: 0.265952
  1805. 181017:51:12 ...
  1806. 181117:51:12 # Subtest: 460x900, 8 opponents: all fit above the field, inside the screen, no overlap
  1807. 181217:51:12 ok 16 - 460x900, 8 opponents: all fit above the field, inside the screen, no overlap
  1808. 181317:51:12 ---
  1809. 181417:51:12 duration_ms: 0.129815
  1810. 181517:51:12 ...
  1811. 181617:51:12 # Subtest: 460x900, 10 opponents: all fit above the field, inside the screen, no overlap
  1812. 181717:51:12 ok 17 - 460x900, 10 opponents: all fit above the field, inside the screen, no overlap
  1813. 181817:51:12 ---
  1814. 181917:51:12 duration_ms: 0.117582
  1815. 182017:51:12 ...
  1816. 182117:51:12 # Subtest: 460x900, 12 opponents: all fit above the field, inside the screen, no overlap
  1817. 182217:51:12 ok 18 - 460x900, 12 opponents: all fit above the field, inside the screen, no overlap
  1818. 182317:51:12 ---
  1819. 182417:51:12 duration_ms: 0.216157
  1820. 182517:51:12 ...
  1821. 182617:51:12 # Subtest: 460x900, 16 opponents: all fit above the field, inside the screen, no overlap
  1822. 182717:51:12 ok 19 - 460x900, 16 opponents: all fit above the field, inside the screen, no overlap
  1823. 182817:51:12 ---
  1824. 182917:51:12 duration_ms: 0.175632
  1825. 183017:51:12 ...
  1826. 183117:51:12 # Subtest: 390x844, 6 opponents: all fit above the field, inside the screen, no overlap
  1827. 183217:51:12 ok 20 - 390x844, 6 opponents: all fit above the field, inside the screen, no overlap
  1828. 183317:51:12 ---
  1829. 183417:51:12 duration_ms: 0.107914
  1830. 183517:51:12 ...
  1831. 183617:51:12 # Subtest: 390x844, 7 opponents: all fit above the field, inside the screen, no overlap
  1832. 183717:51:12 ok 21 - 390x844, 7 opponents: all fit above the field, inside the screen, no overlap
  1833. 183817:51:12 ---
  1834. 183917:51:12 duration_ms: 0.096502
  1835. 184017:51:12 ...
  1836. 184117:51:12 # Subtest: 390x844, 8 opponents: all fit above the field, inside the screen, no overlap
  1837. 184217:51:12 ok 22 - 390x844, 8 opponents: all fit above the field, inside the screen, no overlap
  1838. 184317:51:12 ---
  1839. 184417:51:12 duration_ms: 0.091162
  1840. 184517:51:12 ...
  1841. 184617:51:12 # Subtest: 390x844, 10 opponents: all fit above the field, inside the screen, no overlap
  1842. 184717:51:12 ok 23 - 390x844, 10 opponents: all fit above the field, inside the screen, no overlap
  1843. 184817:51:12 ---
  1844. 184917:51:12 duration_ms: 0.088657
  1845. 185017:51:12 ...
  1846. 185117:51:12 # Subtest: 390x844, 12 opponents: all fit above the field, inside the screen, no overlap
  1847. 185217:51:12 ok 24 - 390x844, 12 opponents: all fit above the field, inside the screen, no overlap
  1848. 185317:51:12 ---
  1849. 185417:51:12 duration_ms: 0.094088
  1850. 185517:51:12 ...
  1851. 185617:51:12 # Subtest: 390x844, 16 opponents: all fit above the field, inside the screen, no overlap
  1852. 185717:51:12 ok 25 - 390x844, 16 opponents: all fit above the field, inside the screen, no overlap
  1853. 185817:51:12 ---
  1854. 185917:51:12 duration_ms: 0.107613
  1855. 186017:51:12 ...
  1856. 186117:51:12 # Subtest: few opponents keep the full size; more opponents shrink monotonically
  1857. 186217:51:12 ok 26 - few opponents keep the full size; more opponents shrink monotonically
  1858. 186317:51:12 ---
  1859. 186417:51:12 duration_ms: 0.249951
  1860. 186517:51:12 ...
  1861. 186617:51:12 # Subtest: Tim's case: 6 bots at ~460 px portrait no longer spill behind the field
  1862. 186717:51:12 ok 27 - Tim's case: 6 bots at ~460 px portrait no longer spill behind the field
  1863. 186817:51:12 ---
  1864. 186917:51:12 duration_ms: 0.128052
  1865. 187017:51:12 ...
  1866. 187117:51:12 # Subtest: order is unchanged while everything fits, even with defeated opponents
  1867. 187217:51:12 ok 28 - order is unchanged while everything fits, even with defeated opponents
  1868. 187317:51:12 ---
  1869. 187417:51:12 duration_ms: 0.544908
  1870. 187517:51:12 ...
  1871. 187617:51:12 # Subtest: when they do not fit even at the minimum: living first, defeated last, stable
  1872. 187717:51:12 ok 29 - when they do not fit even at the minimum: living first, defeated last, stable
  1873. 187817:51:12 ---
  1874. 187917:51:12 duration_ms: 52.65003
  1875. 188017:51:12 ...
  1876. 188117:51:12 # Subtest: overflow at 360x800 with 31 opponents: min size, defeated ones are the ones behind the field
  1877. 188217:51:12 ok 30 - overflow at 360x800 with 31 opponents: min size, defeated ones are the ones behind the field
  1878. 188317:51:12 ---
  1879. 188417:51:12 duration_ms: 0.856796
  1880. 188517:51:12 ...
  1881. 188617:51:12 # Subtest: wide screens still use the side layout (unchanged)
  1882. 188717:51:12 ok 31 - wide screens still use the side layout (unchanged)
  1883. 188817:51:12 ---
  1884. 188917:51:12 duration_ms: 0.385547
  1885. 189017:51:12 ...
  1886. 189117:51:12 1..31
  1887. 189217:51:12ok 47 - Top-row mini scaling (t1203)
  1888. 189317:51:12 ---
  1889. 189417:51:12 duration_ms: 66.604499
  1890. 189517:51:12 type: 'suite'
  1891. 189617:51:12 ...
  1892. 189717:51:12# Subtest: Outgoing shots and incoming garbage
  1893. 189817:51:12 # Subtest: blocks that leave the top are recorded as outgoing shots and can be consumed
  1894. 189917:51:12 ok 1 - blocks that leave the top are recorded as outgoing shots and can be consumed
  1895. 190017:51:12 ---
  1896. 190117:51:12 duration_ms: 86.85061
  1897. 190217:51:12 ...
  1898. 190317:51:12 # Subtest: ingestGarbage drops a falling grey that settles 3s then recolors
  1899. 190417:51:12 ok 2 - ingestGarbage drops a falling grey that settles 3s then recolors
  1900. 190517:51:12 ---
  1901. 190617:51:12 duration_ms: 79.209002
  1902. 190717:51:12 ...
  1903. 190817:51:12 # Subtest: ingestGarbage skips locked and full columns, and returns null when none are open
  1904. 190917:51:12 ok 3 - ingestGarbage skips locked and full columns, and returns null when none are open
  1905. 191017:51:12 ---
  1906. 191117:51:12 duration_ms: 4.09193
  1907. 191217:51:12 ...
  1908. 191317:51:12 # Subtest: missChance defaults to the planet Power formula and can still be overridden
  1909. 191417:51:12 ok 4 - missChance defaults to the planet Power formula and can still be overridden
  1910. 191517:51:12 ---
  1911. 191617:51:12 duration_ms: 3.271824
  1912. 191717:51:12 ...
  1913. 191817:51:12 # Subtest: fieldSnapshot lists every block for opponent miniatures
  1914. 191917:51:12 ok 5 - fieldSnapshot lists every block for opponent miniatures
  1915. 192017:51:12 ---
  1916. 192117:51:12 duration_ms: 0.452884
  1917. 192217:51:12 ...
  1918. 192317:51:12 1..5
  1919. 192417:51:12ok 48 - Outgoing shots and incoming garbage
  1920. 192517:51:12 ---
  1921. 192617:51:12 duration_ms: 175.3766
  1922. 192717:51:12 type: 'suite'
  1923. 192817:51:12 ...
  1924. 192917:51:12# Subtest: Offline defeated counter (t1198)
  1925. 193017:51:12 # Subtest: counts every opponent knocked out, across rounds, once each
  1926. 193117:51:12 ok 1 - counts every opponent knocked out, across rounds, once each
  1927. 193217:51:12 ---
  1928. 193317:51:12 duration_ms: 6.335453
  1929. 193417:51:12 ...
  1930. 193517:51:12 # Subtest: i18n: singular / plural in every language, no skill line left
  1931. 193617:51:12 ok 2 - i18n: singular / plural in every language, no skill line left
  1932. 193717:51:12 ---
  1933. 193817:51:12 duration_ms: 4.969967
  1934. 193917:51:12 ...
  1935. 194017:51:12 1..2
  1936. 194117:51:12ok 49 - Offline defeated counter (t1198)
  1937. 194217:51:12 ---
  1938. 194317:51:12 duration_ms: 64.425508
  1939. 194417:51:12 type: 'suite'
  1940. 194517:51:12 ...
  1941. 194617:51:12# Subtest: Offline Strijd progression (t1119)
  1942. 194717:51:12 # Subtest: one opponent for one round, then N opponents for N-1 rounds
  1943. 194817:51:12 ok 1 - one opponent for one round, then N opponents for N-1 rounds
  1944. 194917:51:12 ---
  1945. 195017:51:12 duration_ms: 56.977395
  1946. 195117:51:12 ...
  1947. 195217:51:12 # Subtest: skill starts at 5% and rises 1% per round, capped at 100%
  1948. 195317:51:12 ok 2 - skill starts at 5% and rises 1% per round, capped at 100%
  1949. 195417:51:12 ---
  1950. 195517:51:12 duration_ms: 0.367022
  1951. 195617:51:12 ...
  1952. 195717:51:12 1..2
  1953. 195817:51:12ok 50 - Offline Strijd progression (t1119)
  1954. 195917:51:12 ---
  1955. 196017:51:12 duration_ms: 58.800615
  1956. 196117:51:12 type: 'suite'
  1957. 196217:51:12 ...
  1958. 196317:51:12# Subtest: Bot move finder and roll (t1119)
  1959. 196417:51:12 # Subtest: finds the shortest vertical move that creates a match
  1960. 196517:51:12 ok 1 - finds the shortest vertical move that creates a match
  1961. 196617:51:12 ---
  1962. 196717:51:12 duration_ms: 3.77917
  1963. 196817:51:12 ...
  1964. 196917:51:12 # Subtest: returns null when no vertical move creates a match
  1965. 197017:51:12 ok 2 - returns null when no vertical move creates a match
  1966. 197117:51:12 ---
  1967. 197217:51:12 duration_ms: 0.658522
  1968. 197317:51:12 ...
  1969. 197417:51:12 # Subtest: a roll at skill 0 never moves, skill 1 always tries
  1970. 197517:51:12 ok 3 - a roll at skill 0 never moves, skill 1 always tries
  1971. 197617:51:12 ---
  1972. 197717:51:12 duration_ms: 1.233006
  1973. 197817:51:12 ...
  1974. 197917:51:12 1..3
  1975. 198017:51:12ok 51 - Bot move finder and roll (t1119)
  1976. 198117:51:12 ---
  1977. 198217:51:12 duration_ms: 5.996314
  1978. 198317:51:12 type: 'suite'
  1979. 198417:51:12 ...
  1980. 198517:51:12# Subtest: Offline battle flow (t1119)
  1981. 198617:51:12 # Subtest: starts a round with the scheduled number of bots, each a random planet
  1982. 198717:51:12 ok 1 - starts a round with the scheduled number of bots, each a random planet
  1983. 198817:51:12 ---
  1984. 198917:51:12 duration_ms: 6.330114
  1985. 199017:51:12 ...
  1986. 199117:51:12 # Subtest: a forced miss never delivers garbage; a forced hit does
  1987. 199217:51:12 ok 2 - a forced miss never delivers garbage; a forced hit does
  1988. 199317:51:12 ---
  1989. 199417:51:12 duration_ms: 3.738354
  1990. 199517:51:12 ...
  1991. 199617:51:12 # Subtest: winning a round means every bot is defeated, then advanceRound grows the field
  1992. 199717:51:12 ok 3 - winning a round means every bot is defeated, then advanceRound grows the field
  1993. 199817:51:12 ---
  1994. 199917:51:12 duration_ms: 0.804959
  1995. 200017:51:12 ...
  1996. 200117:51:12 # Subtest: the player losing sets state to lost at the current round
  1997. 200217:51:12 ok 4 - the player losing sets state to lost at the current round
  1998. 200317:51:12 ---
  1999. 200417:51:12 duration_ms: 0.781374
  2000. 200517:51:12 ...
  2001. 200617:51:12 1..4
  2002. 200717:51:12ok 52 - Offline battle flow (t1119)
  2003. 200817:51:12 ---
  2004. 200917:51:12 duration_ms: 12.388705
  2005. 201017:51:12 type: 'suite'
  2006. 201117:51:12 ...
  2007. 201217:51:12# Subtest: Bot lookahead planner (t1144)
  2008. 201317:51:12 # Subtest: lookaheadChance is 0 through 10% skill, then linear to 1 at 40%
  2009. 201417:51:12 ok 1 - lookaheadChance is 0 through 10% skill, then linear to 1 at 40%
  2010. 201517:51:12 ---
  2011. 201617:51:12 duration_ms: 0.510654
  2012. 201717:51:12 ...
  2013. 201817:51:12 # Subtest: finds a 1-step immediate match and prefers it over a setup
  2014. 201917:51:12 ok 2 - finds a 1-step immediate match and prefers it over a setup
  2015. 202017:51:12 ---
  2016. 202117:51:12 duration_ms: 1.682094
  2017. 202217:51:12 ...
  2018. 202317:51:12 # Subtest: finds a 2-step setup when no immediate match exists
  2019. 202417:51:12 ok 3 - finds a 2-step setup when no immediate match exists
  2020. 202517:51:12 ---
  2021. 202617:51:12 duration_ms: 2.613912
  2022. 202717:51:12 ...
  2023. 202817:51:12 # Subtest: performs the first step and follows the plan on the next successful roll
  2024. 202917:51:12 ok 4 - performs the first step and follows the plan on the next successful roll
  2025. 203017:51:12 ---
  2026. 203117:51:12 duration_ms: 3.843592
  2027. 203217:51:12 ...
  2028. 203317:51:12 # Subtest: follows a committed plan even below the lookahead threshold
  2029. 203417:51:12 ok 5 - follows a committed plan even below the lookahead threshold
  2030. 203517:51:12 ---
  2031. 203617:51:12 duration_ms: 0.90121
  2032. 203717:51:12 ...
  2033. 203817:51:12 # Subtest: re-plans when the stored next step is no longer valid
  2034. 203917:51:12 ok 6 - re-plans when the stored next step is no longer valid
  2035. 204017:51:12 ---
  2036. 204117:51:12 duration_ms: 5.293057
  2037. 204217:51:12 ...
  2038. 204317:51:12 # Subtest: does not start a new 2-step plan at or below 10% skill
  2039. 204417:51:12 ok 7 - does not start a new 2-step plan at or below 10% skill
  2040. 204517:51:12 ---
  2041. 204617:51:12 duration_ms: 0.621914
  2042. 204717:51:12 ...
  2043. 204817:51:12 # Subtest: does not propose illegal swaps (gap, locked column, or off-segment)
  2044. 204917:51:12 ok 8 - does not propose illegal swaps (gap, locked column, or off-segment)
  2045. 205017:51:12 ---
  2046. 205117:51:12 duration_ms: 3.21683
  2047. 205217:51:12 ...
  2048. 205317:51:12 # Subtest: finishes a full 10×13 search quickly and within budget
  2049. 205417:51:12 ok 9 - finishes a full 10×13 search quickly and within budget
  2050. 205517:51:12 ---
  2051. 205617:51:12 duration_ms: 4.163615
  2052. 205717:51:12 ...
  2053. 205817:51:12 1..9
  2054. 205917:51:12ok 53 - Bot lookahead planner (t1144)
  2055. 206017:51:12 ---
  2056. 206117:51:12 duration_ms: 23.559703
  2057. 206217:51:12 type: 'suite'
  2058. 206317:51:12 ...
  2059. 206417:51:13# Subtest: Shot into a flying cluster (t1111)
  2060. 206517:51:13 # Subtest: pushes the hit column up by 1 and attaches the shot at the bottom, grid-aligned
  2061. 206617:51:13 ok 1 - pushes the hit column up by 1 and attaches the shot at the bottom, grid-aligned
  2062. 206717:51:13 ---
  2063. 206817:51:13 duration_ms: 9.345474
  2064. 206917:51:13 ...
  2065. 207017:51:13 # Subtest: successive shots each push the column 1 and insert at the bottom, never overlapping
  2066. 207117:51:13 ok 2 - successive shots each push the column 1 and insert at the bottom, never overlapping
  2067. 207217:51:13 ---
  2068. 207317:51:13 duration_ms: 12.26402
  2069. 207417:51:13 ...
  2070. 207517:51:13 # Subtest: two launched blocks in the same column never overlap; the later one attaches under the earlier
  2071. 207617:51:13 ok 3 - two launched blocks in the same column never overlap; the later one attaches under the earlier
  2072. 207717:51:13 ---
  2073. 207817:51:13 duration_ms: 3.92719
  2074. 207917:51:13 ...
  2075. 208017:51:13 1..3
  2076. 208117:51:13ok 54 - Shot into a flying cluster (t1111)
  2077. 208217:51:13 ---
  2078. 208317:51:13 duration_ms: 27.29495
  2079. 208417:51:13 type: 'suite'
  2080. 208517:51:13 ...
  2081. 208617:51:13# Subtest: Video scenario: repeated launches under a cluster with falling blocks (t1111/t1112)
  2082. 208717:51:13 # Subtest: never overlaps, vanishes, duplicates or reorders illegally
  2083. 208817:51:13 ok 1 - never overlaps, vanishes, duplicates or reorders illegally
  2084. 208917:51:13 ---
  2085. 209017:51:13 duration_ms: 307.980769
  2086. 209117:51:13 ...
  2087. 209217:51:13 1..1
  2088. 209317:51:13ok 55 - Video scenario: repeated launches under a cluster with falling blocks (t1111/t1112)
  2089. 209417:51:13 ---
  2090. 209517:51:13 duration_ms: 308.195584
  2091. 209617:51:13 type: 'suite'
  2092. 209717:51:13 ...
  2093. 209817:51:13# Subtest: Falling must not teleport up through a gap (t1112)
  2094. 209917:51:13 # Subtest: a falling block below a hanging still lands on the stack under it, not on the hanging block
  2095. 210017:51:13 ok 1 - a falling block below a hanging still lands on the stack under it, not on the hanging block
  2096. 210117:51:13 ---
  2097. 210217:51:13 duration_ms: 0.814367
  2098. 210317:51:13 ...
  2099. 210417:51:13 # Subtest: a chain of stills sitting on a released landed cluster all fall, from rest
  2100. 210517:51:13 ok 2 - a chain of stills sitting on a released landed cluster all fall, from rest
  2101. 210617:51:13 ---
  2102. 210717:51:13 duration_ms: 63.52548
  2103. 210817:51:13 ...
  2104. 210917:51:13 1..2
  2105. 211017:51:13ok 56 - Falling must not teleport up through a gap (t1112)
  2106. 211117:51:13 ---
  2107. 211217:51:13 duration_ms: 64.693333
  2108. 211317:51:13 type: 'suite'
  2109. 211417:51:13 ...
  2110. 211517:51:13# Subtest: Randomized physics soak (t1112)
  2111. 211617:51:13 # Subtest: thousands of ticks of random launches, drags, matches and landings keep the invariants
  2112. 211717:51:13 ok 1 - thousands of ticks of random launches, drags, matches and landings keep the invariants
  2113. 211817:51:13 ---
  2114. 211917:51:13 duration_ms: 3368.772565
  2115. 212017:51:13 ...
  2116. 212117:51:13 1..1
  2117. 212217:51:13ok 57 - Randomized physics soak (t1112)
  2118. 212317:51:13 ---
  2119. 212417:51:13 duration_ms: 3369.044448
  2120. 212517:51:13 type: 'suite'
  2121. 212617:51:13 ...
  2122. 212717:51:13# Subtest: Planet field and defaults
  2123. 212817:51:13 # Subtest: has a 10 by 13 field
  2124. 212917:51:13 ok 1 - has a 10 by 13 field
  2125. 213017:51:13 ---
  2126. 213117:51:13 duration_ms: 2.651012
  2127. 213217:51:13 ...
  2128. 213317:51:13 # Subtest: default planet is Terra with mid-range physics
  2129. 213417:51:13 ok 2 - default planet is Terra with mid-range physics
  2130. 213517:51:13 ---
  2131. 213617:51:13 duration_ms: 0.231397
  2132. 213717:51:13 ...
  2133. 213817:51:13 # Subtest: clamps gravity, air and mass to the stage-3 ranges
  2134. 213917:51:13 ok 3 - clamps gravity, air and mass to the stage-3 ranges
  2135. 214017:51:13 ---
  2136. 214117:51:13 duration_ms: 0.350652
  2137. 214217:51:13 ...
  2138. 214317:51:13 # Subtest: keeps colors and shapes data-driven with a unique shape per color
  2139. 214417:51:13 ok 4 - keeps colors and shapes data-driven with a unique shape per color
  2140. 214517:51:13 ---
  2141. 214617:51:13 duration_ms: 0.30188
  2142. 214717:51:13 ...
  2143. 214817:51:13 1..4
  2144. 214917:51:13ok 58 - Planet field and defaults
  2145. 215017:51:13 ---
  2146. 215117:51:13 duration_ms: 5.089433
  2147. 215217:51:13 type: 'suite'
  2148. 215317:51:13 ...
  2149. 215417:51:13# Subtest: Jump height rules
  2150. 215517:51:13 # Subtest: a horizontal match of 3 uses the base jump height
  2151. 215617:51:13 ok 1 - a horizontal match of 3 uses the base jump height
  2152. 215717:51:13 ---
  2153. 215817:51:13 duration_ms: 0.395867
  2154. 215917:51:13 ...
  2155. 216017:51:13 # Subtest: a vertical match of 3 is 120% of a horizontal row
  2156. 216117:51:13 ok 2 - a vertical match of 3 is 120% of a horizontal row
  2157. 216217:51:13 ---
  2158. 216317:51:13 duration_ms: 0.18001
  2159. 216417:51:13 ...
  2160. 216517:51:13 # Subtest: each extra block beyond 3 adds 5% jump height
  2161. 216617:51:13 ok 3 - each extra block beyond 3 adds 5% jump height
  2162. 216717:51:13 ---
  2163. 216817:51:13 duration_ms: 0.201279
  2164. 216917:51:13 ...
  2165. 217017:51:13 # Subtest: at min gravity (2, t1199) one horizontal-3 jump is 75% of the field
  2166. 217117:51:13 ok 4 - at min gravity (2, t1199) one horizontal-3 jump is 75% of the field
  2167. 217217:51:13 ---
  2168. 217317:51:13 duration_ms: 0.255623
  2169. 217417:51:13 ...
  2170. 217517:51:13 # Subtest: at max gravity four horizontal-3 jumps equal 1.5 times the field height
  2171. 217617:51:13 ok 5 - at max gravity four horizontal-3 jumps equal 1.5 times the field height
  2172. 217717:51:13 ---
  2173. 217817:51:13 duration_ms: 0.297782
  2174. 217917:51:13 ...
  2175. 218017:51:13 1..5
  2176. 218117:51:13ok 59 - Jump height rules
  2177. 218217:51:13 ---
  2178. 218317:51:13 duration_ms: 1.922438
  2179. 218417:51:13 type: 'suite'
  2180. 218517:51:13 ...
  2181. 218617:51:13# Subtest: Launch and fall physics parameters
  2182. 218717:51:13 # Subtest: a jump of height H peaks in riseTime at constant deceleration
  2183. 218817:51:13 ok 1 - a jump of height H peaks in riseTime at constant deceleration
  2184. 218917:51:13 ---
  2185. 219017:51:13 duration_ms: 0.440762
  2186. 219117:51:13 ...
  2187. 219217:51:13 # Subtest: apex time is independent of jump height (mass)
  2188. 219317:51:13 ok 2 - apex time is independent of jump height (mass)
  2189. 219417:51:13 ---
  2190. 219517:51:13 duration_ms: 0.278926
  2191. 219617:51:13 ...
  2192. 219717:51:13 # Subtest: single-block fall speed is field height over fallTime; cluster float-down is half (t1124)
  2193. 219817:51:13 ok 3 - single-block fall speed is field height over fallTime; cluster float-down is half (t1124)
  2194. 219917:51:13 ---
  2195. 220017:51:13 duration_ms: 0.258017
  2196. 220117:51:13 ...
  2197. 220217:51:13 1..3
  2198. 220317:51:13ok 60 - Launch and fall physics parameters
  2199. 220417:51:13 ---
  2200. 220517:51:13 duration_ms: 1.233558
  2201. 220617:51:13 type: 'suite'
  2202. 220717:51:13 ...
  2203. 220817:51:13# Subtest: Power and display values
  2204. 220917:51:13 # Subtest: easiest planet (gravity 2 since t1199) has power 1/9, ~54% miss, shown as 10%
  2205. 221017:51:13 ok 1 - easiest planet (gravity 2 since t1199) has power 1/9, ~54% miss, shown as 10%
  2206. 221117:51:13 ---
  2207. 221217:51:13 duration_ms: 0.34412
  2208. 221317:51:13 ...
  2209. 221417:51:13 # Subtest: hardest planet has power 1 and 5% miss chance
  2210. 221517:51:13 ok 2 - hardest planet has power 1 and 5% miss chance
  2211. 221617:51:13 ---
  2212. 221717:51:13 duration_ms: 0.211439
  2213. 221817:51:13 ...
  2214. 221917:51:13 # Subtest: display values are numeric gravity, density, newtons and power %
  2215. 222017:51:13 ok 3 - display values are numeric gravity, density, newtons and power %
  2216. 222117:51:13 ---
  2217. 222217:51:13 duration_ms: 1.902159
  2218. 222317:51:13 ...
  2219. 222417:51:13 # Subtest: displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power
  2220. 222517:51:13 ok 4 - displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power
  2221. 222617:51:13 ---
  2222. 222717:51:13 duration_ms: 0.387491
  2223. 222817:51:13 ...
  2224. 222917:51:13 1..4
  2225. 223017:51:13ok 61 - Power and display values
  2226. 223117:51:13 ---
  2227. 223217:51:13 duration_ms: 3.213803
  2228. 223317:51:13 type: 'suite'
  2229. 223417:51:13 ...
  2230. 223517:51:13# Subtest: Planet catalog
  2231. 223617:51:13 # Subtest: has 8–12 named worlds, each with a people name and five unique shapes
  2232. 223717:51:13 ok 1 - has 8–12 named worlds, each with a people name and five unique shapes
  2233. 223817:51:13 ---
  2234. 223917:51:13 duration_ms: 0.706092
  2235. 224017:51:13 ...
  2236. 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%)
  2237. 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%)
  2238. 224317:51:13 ---
  2239. 224417:51:13 duration_ms: 0.463244
  2240. 224517:51:13 ...
  2241. 224617:51:13 1..2
  2242. 224717:51:13ok 62 - Planet catalog
  2243. 224817:51:13 ---
  2244. 224917:51:13 duration_ms: 1.330411
  2245. 225017:51:13 type: 'suite'
  2246. 225117:51:13 ...
  2247. 225217:51:13# Subtest: Gravity minimum and percentage display (t1199)
  2248. 225317:51:13 # Subtest: constants: range 2..4, 9.81 g at 100%
  2249. 225417:51:13 ok 1 - constants: range 2..4, 9.81 g at 100%
  2250. 225517:51:13 ---
  2251. 225617:51:13 duration_ms: 0.259179
  2252. 225717:51:13 ...
  2253. 225817:51:13 # Subtest: percentage is linear: (v − 1)·100, so 2 → 100%, 3 → 200%, 4 → 300%
  2254. 225917:51:13 ok 2 - percentage is linear: (v − 1)·100, so 2 → 100%, 3 → 200%, 4 → 300%
  2255. 226017:51:13 ---
  2256. 226117:51:13 duration_ms: 0.149783
  2257. 226217:51:13 ...
  2258. 226317:51:13 # Subtest: g follows the percentage: 9.81·(v − 1)
  2259. 226417:51:13 ok 3 - g follows the percentage: 9.81·(v − 1)
  2260. 226517:51:13 ---
  2261. 226617:51:13 duration_ms: 0.220737
  2262. 226717:51:13 ...
  2263. 226817:51:13 # Subtest: stats text shows "g 100% (9.81g)" for Terra and 300% for Cinder
  2264. 226917:51:13 ok 4 - stats text shows "g 100% (9.81g)" for Terra and 300% for Cinder
  2265. 227017:51:13 ---
  2266. 227117:51:13 duration_ms: 0.307851
  2267. 227217:51:13 ...
  2268. 227317:51:13 # Subtest: every standard planet has gravity ≥ 2
  2269. 227417:51:13 ok 5 - every standard planet has gravity ≥ 2
  2270. 227517:51:13 ---
  2271. 227617:51:13 duration_ms: 0.475357
  2272. 227717:51:13 ...
  2273. 227817:51:13 # Subtest: a saved custom planet below 2 loads as 2
  2274. 227917:51:13 ok 6 - a saved custom planet below 2 loads as 2
  2275. 228017:51:13 ---
  2276. 228117:51:13 duration_ms: 0.166113
  2277. 228217:51:13 ...
  2278. 228317:51:13 # Subtest: i18n has stats.gravity in every language
  2279. 228417:51:13 ok 7 - i18n has stats.gravity in every language
  2280. 228517:51:13 ---
  2281. 228617:51:13 duration_ms: 3.278495
  2282. 228717:51:13 ...
  2283. 228817:51:13 1..7
  2284. 228917:51:13ok 63 - Gravity minimum and percentage display (t1199)
  2285. 229017:51:13 ---
  2286. 229117:51:13 duration_ms: 5.297315
  2287. 229217:51:13 type: 'suite'
  2288. 229317:51:13 ...
  2289. 229417:51:13# Subtest: Points, landing and recolor
  2290. 229517:51:13 # Subtest: blocks that leave the top of the field become one point each and are gone
  2291. 229617:51:13 ok 1 - blocks that leave the top of the field become one point each and are gone
  2292. 229717:51:13 ---
  2293. 229817:51:13 duration_ms: 97.407118
  2294. 229917:51:13 ...
  2295. 230017:51:13 # Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors
  2296. 230117:51:13 ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors
  2297. 230217:51:13 ---
  2298. 230317:51:13 duration_ms: 101.982551
  2299. 230417:51:13 ...
  2300. 230517:51:13 # Subtest: carried colored blocks keep their color and stay in the rigid group until greys convert
  2301. 230617:51:13 ok 3 - carried colored blocks keep their color and stay in the rigid group until greys convert
  2302. 230717:51:13 ---
  2303. 230817:51:13 duration_ms: 86.801807
  2304. 230917:51:13 ...
  2305. 231017:51:13 # Subtest: spawn drops a random color into a random open column every second
  2306. 231117:51:13 ok 4 - spawn drops a random color into a random open column every second
  2307. 231217:51:13 ---
  2308. 231317:51:13 duration_ms: 16.52525
  2309. 231417:51:13 ...
  2310. 231517:51:13 1..4
  2311. 231617:51:13ok 64 - Points, landing and recolor
  2312. 231717:51:13 ---
  2313. 231817:51:13 duration_ms: 304.507575
  2314. 231917:51:13 type: 'suite'
  2315. 232017:51:13 ...
  2316. 232117:51:13# Subtest: Push-up and chain re-launch
  2317. 232217:51:13 # Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay
  2318. 232317:51:13 ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay
  2319. 232417:51:13 ---
  2320. 232517:51:13 duration_ms: 8.987868
  2321. 232617:51:13 ...
  2322. 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
  2323. 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
  2324. 232917:51:13 ---
  2325. 233017:51:13 duration_ms: 4.872864
  2326. 233117:51:13 ...
  2327. 233217:51:13 # Subtest: if a re-launch sends every block off the top, that is fine and they become points
  2328. 233317:51:13 ok 3 - if a re-launch sends every block off the top, that is fine and they become points
  2329. 233417:51:13 ---
  2330. 233517:51:13 duration_ms: 65.222392
  2331. 233617:51:13 ...
  2332. 233717:51:13 # Subtest: gray blocks can also disappear off the top and score points
  2333. 233817:51:13 ok 4 - gray blocks can also disappear off the top and score points
  2334. 233917:51:13 ---
  2335. 234017:51:13 duration_ms: 5.125531
  2336. 234117:51:13 ...
  2337. 234217:51:13 1..4
  2338. 234317:51:13ok 65 - Push-up and chain re-launch
  2339. 234417:51:13 ---
  2340. 234517:51:13 duration_ms: 86.095596
  2341. 234617:51:13 type: 'suite'
  2342. 234717:51:13 ...
  2343. 234817:51:13# Subtest: Reward spawn schedule (t1194: 3 blocks/s, last block at 4 s)
  2344. 234917:51:13 # Subtest: constants and per-reward acceleration a = 2((n−1) − 3·4) / 4²
  2345. 235017:51:13 ok 1 - constants and per-reward acceleration a = 2((n−1) − 3·4) / 4²
  2346. 235117:51:13 ---
  2347. 235217:51:13 duration_ms: 1.9291
  2348. 235317:51:13 ...
  2349. 235417:51:13 # Subtest: the last block always leaves at 4 s, whatever the point count
  2350. 235517:51:13 ok 2 - the last block always leaves at 4 s, whatever the point count
  2351. 235617:51:13 ---
  2352. 235717:51:13 duration_ms: 0.578762
  2353. 235817:51:13 ...
  2354. 235917:51:13 # Subtest: block i leaves when 3t + a·t²/2 = i; starts at 3/s and accelerates
  2355. 236017:51:13 ok 3 - block i leaves when 3t + a·t²/2 = i; starts at 3/s and accelerates
  2356. 236117:51:13 ---
  2357. 236217:51:13 duration_ms: 1.669199
  2358. 236317:51:13 ...
  2359. 236417:51:13 # Subtest: spawnedBy matches floor(r0·t + a·t²/2) + 1, capped by n
  2360. 236517:51:13 ok 4 - spawnedBy matches floor(r0·t + a·t²/2) + 1, capped by n
  2361. 236617:51:13 ---
  2362. 236717:51:13 duration_ms: 0.429761
  2363. 236817:51:13 ...
  2364. 236917:51:13 # Subtest: measured end times through the real sequence (60 fps): ~4 s for 5…2000 points
  2365. 237017:51:13 ok 5 - measured end times through the real sequence (60 fps): ~4 s for 5…2000 points
  2366. 237117:51:13 ---
  2367. 237217:51:13 duration_ms: 6.868299
  2368. 237317:51:13 ...
  2369. 237417:51:13 1..5
  2370. 237517:51:13ok 66 - Reward spawn schedule (t1194: 3 blocks/s, last block at 4 s)
  2371. 237617:51:13 ---
  2372. 237717:51:13 duration_ms: 15.692649
  2373. 237817:51:13 type: 'suite'
  2374. 237917:51:13 ...
  2375. 238017:51:13# Subtest: Reward sequence (t1173)
  2376. 238117:51:13 # Subtest: 500 + 253 → counts every point from 500 up to 753 (last block at 4 s)
  2377. 238217:51:13 ok 1 - 500 + 253 → counts every point from 500 up to 753 (last block at 4 s)
  2378. 238317:51:13 ---
  2379. 238417:51:13 duration_ms: 1.694267
  2380. 238517:51:13 ...
  2381. 238617:51:13 # Subtest: phases run intro → rise → wait → count → hold → done
  2382. 238717:51:13 ok 2 - phases run intro → rise → wait → count → hold → done
  2383. 238817:51:13 ---
  2384. 238917:51:13 duration_ms: 0.49825
  2385. 239017:51:13 ...
  2386. 239117:51:13 # Subtest: title stays centred for one second before rising
  2387. 239217:51:13 ok 3 - title stays centred for one second before rising
  2388. 239317:51:13 ---
  2389. 239417:51:13 duration_ms: 0.192773
  2390. 239517:51:13 ...
  2391. 239617:51:13 # Subtest: nothing is counted before the server result arrives
  2392. 239717:51:13 ok 4 - nothing is counted before the server result arrives
  2393. 239817:51:13 ---
  2394. 239917:51:13 duration_ms: 0.435381
  2395. 240017:51:13 ...
  2396. 240117:51:13 # Subtest: earned 0 shows the number briefly, no blocks
  2397. 240217:51:13 ok 5 - earned 0 shows the number briefly, no blocks
  2398. 240317:51:13 ---
  2399. 240417:51:14 duration_ms: 0.415053
  2400. 240517:51:14 ...
  2401. 240617:51:14 # Subtest: server failure: no count, still continues
  2402. 240717:51:14 ok 6 - server failure: no count, still continues
  2403. 240817:51:14 ---
  2404. 240917:51:14 duration_ms: 0.257475
  2405. 241017:51:14 ...
  2406. 241117:51:14 # Subtest: no answer at all times out and continues
  2407. 241217:51:14 ok 7 - no answer at all times out and continues
  2408. 241317:51:14 ---
  2409. 241417:51:14 duration_ms: 0.353627
  2410. 241517:51:14 ...
  2411. 241617:51:14 # Subtest: before > after or a missing before is clamped (never counts down)
  2412. 241717:51:14 ok 8 - before > after or a missing before is clamped (never counts down)
  2413. 241817:51:14 ---
  2414. 241917:51:14 duration_ms: 0.210497
  2415. 242017:51:14 ...
  2416. 242117:51:14 # Subtest: a huge frame (tab in background) still lands exactly on the total
  2417. 242217:51:14 ok 9 - a huge frame (tab in background) still lands exactly on the total
  2418. 242317:51:14 ---
  2419. 242417:51:14 duration_ms: 0.309564
  2420. 242517:51:14 ...
  2421. 242617:51:14 # Subtest: only the hold phase can be finished early (tap to continue), not the count
  2422. 242717:51:14 ok 10 - only the hold phase can be finished early (tap to continue), not the count
  2423. 242817:51:14 ---
  2424. 242917:51:14 duration_ms: 0.279758
  2425. 243017:51:14 ...
  2426. 243117:51:14 1..10
  2427. 243217:51:14ok 67 - Reward sequence (t1173)
  2428. 243317:51:14 ---
  2429. 243417:51:14 duration_ms: 5.356216
  2430. 243517:51:14 type: 'suite'
  2431. 243617:51:14 ...
  2432. 243717:51:14# Subtest: Rng
  2433. 243817:51:14 # Subtest: is deterministic for the same seed
  2434. 243917:51:14 ok 1 - is deterministic for the same seed
  2435. 244017:51:14 ---
  2436. 244117:51:14 duration_ms: 1.873966
  2437. 244217:51:14 ...
  2438. 244317:51:14 # Subtest: differs across seeds and stays in [0, 1)
  2439. 244417:51:14 ok 2 - differs across seeds and stays in [0, 1)
  2440. 244517:51:14 ---
  2441. 244617:51:14 duration_ms: 0.803295
  2442. 244717:51:14 ...
  2443. 244817:51:14 # Subtest: pickIndex stays inside the range
  2444. 244917:51:14 ok 3 - pickIndex stays inside the range
  2445. 245017:51:14 ---
  2446. 245117:51:14 duration_ms: 0.468945
  2447. 245217:51:14 ...
  2448. 245317:51:14 1..3
  2449. 245417:51:14ok 68 - Rng
  2450. 245517:51:14 ---
  2451. 245617:51:14 duration_ms: 4.776112
  2452. 245717:51:14 type: 'suite'
  2453. 245817:51:14 ...
  2454. 245917:51:14# Subtest: Cell-based grab picking (t1109)
  2455. 246017:51:14 # Subtest: a press anywhere inside the cell, including each corner, grabs that block
  2456. 246117:51:14 ok 1 - a press anywhere inside the cell, including each corner, grabs that block
  2457. 246217:51:14 ---
  2458. 246317:51:14 duration_ms: 3.017523
  2459. 246417:51:14 ...
  2460. 246517:51:14 # Subtest: a press in the padding / gap of a cell still grabs the occupant (not the sprite box)
  2461. 246617:51:14 ok 2 - a press in the padding / gap of a cell still grabs the occupant (not the sprite box)
  2462. 246717:51:14 ---
  2463. 246817:51:14 duration_ms: 0.419872
  2464. 246917:51:14 ...
  2465. 247017:51:14 # Subtest: when a block is mid-animation (non-integer y), the nearest in the column within half a tile is grabbed
  2466. 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
  2467. 247217:51:14 ---
  2468. 247317:51:14 duration_ms: 0.545139
  2469. 247417:51:14 ...
  2470. 247517:51:14 # Subtest: floor of the pointer chooses the cell; the cell above is a different block
  2471. 247617:51:14 ok 4 - floor of the pointer chooses the cell; the cell above is a different block
  2472. 247717:51:14 ---
  2473. 247817:51:14 duration_ms: 1.801078
  2474. 247917:51:14 ...
  2475. 248017:51:14 1..4
  2476. 248117:51:14ok 69 - Cell-based grab picking (t1109)
  2477. 248217:51:14 ---
  2478. 248317:51:14 duration_ms: 8.033096
  2479. 248417:51:14 type: 'suite'
  2480. 248517:51:14 ...
  2481. 248617:51:14# Subtest: Spawn speed-up (t1187/t1188)
  2482. 248717:51:14 # Subtest: constants: start 1 s, factor 0.997, floor 0.1 s
  2483. 248817:51:14 ok 1 - constants: start 1 s, factor 0.997, floor 0.1 s
  2484. 248917:51:14 ---
  2485. 249017:51:14 duration_ms: 1.562017
  2486. 249117:51:14 ...
  2487. 249217:51:14 # Subtest: every spawned block multiplies the interval by 0.997
  2488. 249317:51:14 ok 2 - every spawned block multiplies the interval by 0.997
  2489. 249417:51:14 ---
  2490. 249517:51:14 duration_ms: 0.681666
  2491. 249617:51:14 ...
  2492. 249717:51:14 # Subtest: no spawn (no open column) → no speed-up
  2493. 249817:51:14 ok 3 - no spawn (no open column) → no speed-up
  2494. 249917:51:14 ---
  2495. 250017:51:14 duration_ms: 0.325333
  2496. 250117:51:14 ...
  2497. 250217:51:14 # Subtest: floors at 0.1 s after ~767 spawns
  2498. 250317:51:14 ok 4 - floors at 0.1 s after ~767 spawns
  2499. 250417:51:14 ---
  2500. 250517:51:14 duration_ms: 3.066757
  2501. 250617:51:14 ...
  2502. 250717:51:14 # Subtest: the game tick spawns faster over time (driven by the same logic)
  2503. 250817:51:14 ok 5 - the game tick spawns faster over time (driven by the same logic)
  2504. 250917:51:14 ---
  2505. 251017:51:14 duration_ms: 97.640758
  2506. 251117:51:14 ...
  2507. 251217:51:14 # Subtest: a new game (new core) starts again at 1 s
  2508. 251317:51:14 ok 6 - a new game (new core) starts again at 1 s
  2509. 251417:51:14 ---
  2510. 251517:51:14 duration_ms: 0.24346
  2511. 251617:51:14 ...
  2512. 251717:51:14 1..6
  2513. 251817:51:14ok 70 - Spawn speed-up (t1187/t1188)
  2514. 251917:51:14 ---
  2515. 252017:51:14 duration_ms: 105.049988
  2516. 252117:51:14 type: 'suite'
  2517. 252217:51:14 ...
  2518. 252317:51:14# Subtest: Spawn timeline (t1189/t1191)
  2519. 252417:51:14 # Subtest: constants
  2520. 252517:51:14 ok 1 - constants
  2521. 252617:51:14 ---
  2522. 252717:51:14 duration_ms: 53.744305
  2523. 252817:51:14 ...
  2524. 252917:51:14 # Subtest: interval: 0.1 s until 3 s, linear to 1 s at 6 s, then the per-spawn rate
  2525. 253017:51:14 ok 2 - interval: 0.1 s until 3 s, linear to 1 s at 6 s, then the per-spawn rate
  2526. 253117:51:14 ---
  2527. 253217:51:14 duration_ms: 0.845686
  2528. 253317:51:14 ...
  2529. 253417:51:14 # Subtest: no speed-up from blocks spawned before 6 s; after 6 s each spawn ×0.997
  2530. 253517:51:14 ok 3 - no speed-up from blocks spawned before 6 s; after 6 s each spawn ×0.997
  2531. 253617:51:14 ---
  2532. 253717:51:14 duration_ms: 1.016969
  2533. 253817:51:14 ...
  2534. 253917:51:14 # Subtest: the real tick follows the timeline; play time starts at the first tick
  2535. 254017:51:14 ok 4 - the real tick follows the timeline; play time starts at the first tick
  2536. 254117:51:14 ---
  2537. 254217:51:14 duration_ms: 14.33109
  2538. 254317:51:14 ...
  2539. 254417:51:14 # Subtest: first 6 s of a normal game: how many blocks really spawn
  2540. 254517:51:14 ok 5 - first 6 s of a normal game: how many blocks really spawn
  2541. 254617:51:14 ---
  2542. 254717:51:14 duration_ms: 207.136205
  2543. 254817:51:14 ...
  2544. 254917:51:14 # Subtest: burst column choice is weighted towards emptier columns
  2545. 255017:51:14 ok 6 - burst column choice is weighted towards emptier columns
  2546. 255117:51:14 ---
  2547. 255217:51:14 duration_ms: 14.655262
  2548. 255317:51:14 ...
  2549. 255417:51:14 # Subtest: the departing-rocket rule still applies during the burst
  2550. 255517:51:14 ok 7 - the departing-rocket rule still applies during the burst
  2551. 255617:51:14 ---
  2552. 255717:51:14 duration_ms: 5.770719
  2553. 255817:51:14 ...
  2554. 255917:51:14 # Subtest: spawning switched off by tools/tests (interval above 1 s) stays off in the burst
  2555. 256017:51:14 ok 8 - spawning switched off by tools/tests (interval above 1 s) stays off in the burst
  2556. 256117:51:14 ---
  2557. 256217:51:14 duration_ms: 1.937485
  2558. 256317:51:14 ...
  2559. 256417:51:14 # Subtest: opening: a column takes the next block once the previous one cleared a cell; later one at a time
  2560. 256517:51:14 ok 9 - opening: a column takes the next block once the previous one cleared a cell; later one at a time
  2561. 256617:51:14 ---
  2562. 256717:51:14 duration_ms: 0.33371
  2563. 256817:51:14 ...
  2564. 256917:51:14 # Subtest: a full game through the burst keeps the physics invariants (strict mode)
  2565. 257017:51:14 ok 10 - a full game through the burst keeps the physics invariants (strict mode)
  2566. 257117:51:14 ---
  2567. 257217:51:14 duration_ms: 433.618762
  2568. 257317:51:14 ...
  2569. 257417:51:14 1..10
  2570. 257517:51:14ok 71 - Spawn timeline (t1189/t1191)
  2571. 257617:51:14 ---
  2572. 257717:51:14 duration_ms: 735.384324
  2573. 257817:51:14 type: 'suite'
  2574. 257917:51:14 ...
  2575. 258017:51:14# Subtest: Spontaneous matches always become rockets (t1104)
  2576. 258117:51:14 # Subtest: a row that forms on the ground after a block falls launches like a player match
  2577. 258217:51:14 ok 1 - a row that forms on the ground after a block falls launches like a player match
  2578. 258317:51:14 ---
  2579. 258417:51:14 duration_ms: 17.734031
  2580. 258517:51:14 ...
  2581. 258617:51:14 # Subtest: a row that appears after grey settle and recolor launches
  2582. 258717:51:14 ok 2 - a row that appears after grey settle and recolor launches
  2583. 258817:51:14 ---
  2584. 258917:51:14 duration_ms: 75.155273
  2585. 259017:51:14 ...
  2586. 259117:51:14 # Subtest: a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster
  2587. 259217:51:14 ok 3 - a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster
  2588. 259317:51:14 ---
  2589. 259417:51:14 duration_ms: 9.930166
  2590. 259517:51:14 ...
  2591. 259617:51:14 # Subtest: a match that appears when two flying clusters merge greys the line and re-launches
  2592. 259717:51:14 ok 4 - a match that appears when two flying clusters merge greys the line and re-launches
  2593. 259817:51:14 ---
  2594. 259917:51:14 duration_ms: 0.881834
  2595. 260017:51:14 ...
  2596. 260117:51:14 1..4
  2597. 260217:51:14ok 72 - Spontaneous matches always become rockets (t1104)
  2598. 260317:51:14 ---
  2599. 260417:51:14 duration_ms: 105.612229
  2600. 260517:51:14 type: 'suite'
  2601. 260617:51:14 ...
  2602. 260717:51:14# Subtest: Swap events (t1121)
  2603. 260817:51:14 # Subtest: swapBlocks records visual events and consumeSwapEvents clears them
  2604. 260917:51:14 ok 1 - swapBlocks records visual events and consumeSwapEvents clears them
  2605. 261017:51:14 ---
  2606. 261117:51:14 duration_ms: 1.735274
  2607. 261217:51:14 ...
  2608. 261317:51:14 # Subtest: rapid multi-cell swapToward records a chain of events (logic already at the final cell)
  2609. 261417:51:14 ok 2 - rapid multi-cell swapToward records a chain of events (logic already at the final cell)
  2610. 261517:51:14 ---
  2611. 261617:51:14 duration_ms: 0.430332
  2612. 261717:51:14 ...
  2613. 261817:51:14 # Subtest: the invariant checker is unaffected by swap events (grid is already updated)
  2614. 261917:51:14 ok 3 - the invariant checker is unaffected by swap events (grid is already updated)
  2615. 262017:51:14 ---
  2616. 262117:51:14 duration_ms: 0.595333
  2617. 262217:51:14 ...
  2618. 262317:51:14 1..3
  2619. 262417:51:14ok 73 - Swap events (t1121)
  2620. 262517:51:14 ---
  2621. 262617:51:14 duration_ms: 4.354426
  2622. 262717:51:14 type: 'suite'
  2623. 262817:51:14 ...
  2624. 262917:51:14# Subtest: Vertical swapping
  2625. 263017:51:14 # Subtest: dragging a block through a column swaps it with the blocks it passes
  2626. 263117:51:14 ok 1 - dragging a block through a column swaps it with the blocks it passes
  2627. 263217:51:14 ---
  2628. 263317:51:14 duration_ms: 3.057469
  2629. 263417:51:14 ...
  2630. 263517:51:14 # Subtest: swapTo moves a block stepwise and exchanges neighbors
  2631. 263617:51:14 ok 2 - swapTo moves a block stepwise and exchanges neighbors
  2632. 263717:51:14 ---
  2633. 263817:51:14 duration_ms: 2.042364
  2634. 263917:51:14 ...
  2635. 264017:51:14 # Subtest: refuses to drag in a locked or flying column
  2636. 264117:51:14 ok 3 - refuses to drag in a locked or flying column
  2637. 264217:51:14 ---
  2638. 264317:51:14 duration_ms: 1.698304
  2639. 264417:51:14 ...
  2640. 264517:51:14 # Subtest: pulling a top block further up starts a manual launch that cannot leave the field
  2641. 264617:51:14 ok 4 - pulling a top block further up starts a manual launch that cannot leave the field
  2642. 264717:51:14 ---
  2643. 264817:51:14 duration_ms: 15.409344
  2644. 264917:51:14 ...
  2645. 265017:51:14 # Subtest: a manual jump from mid-stack still caps at the top cell
  2646. 265117:51:14 ok 5 - a manual jump from mid-stack still caps at the top cell
  2647. 265217:51:14 ---
  2648. 265317:51:14 duration_ms: 17.232635
  2649. 265417:51:14 ...
  2650. 265517:51:14 # Subtest: a click in the lower half of a cell grabs that cell, not the one above
  2651. 265617:51:14 ok 6 - a click in the lower half of a cell grabs that cell, not the one above
  2652. 265717:51:14 ---
  2653. 265817:51:14 duration_ms: 3.861476
  2654. 265917:51:17 ...
  2655. 266017:51:17 1..6
  2656. 266117:51:17ok 74 - Vertical swapping
  2657. 266217:51:17 ---
  2658. 266317:51:17 duration_ms: 45.17676
  2659. 266417:51:17 type: 'suite'
  2660. 266517:51:17 ...
  2661. 266617:51:17# Subtest: Manual launch of the already-topmost block
  2662. 266717:51:17 # Subtest: dragging the top block upward past its own position starts a manual jump
  2663. 266817:51:17 ok 1 - dragging the top block upward past its own position starts a manual jump
  2664. 266917:51:17 ---
  2665. 267017:51:17 duration_ms: 53.786264
  2666. 267117:51:17 ...
  2667. 267217:51:17 # Subtest: a short upward twitch below LAUNCH_PULL does not launch
  2668. 267317:51:17 ok 2 - a short upward twitch below LAUNCH_PULL does not launch
  2669. 267417:51:17 ---
  2670. 267517:51:17 duration_ms: 0.45593
  2671. 267617:51:17 ...
  2672. 267717:51:17 # Subtest: dragging a mid-stack block up to the top still swaps instead of launching
  2673. 267817:51:17 ok 3 - dragging a mid-stack block up to the top still swaps instead of launching
  2674. 267917:51:17 ---
  2675. 268017:51:17 duration_ms: 0.653172
  2676. 268117:51:17 ...
  2677. 268217:51:17 # Subtest: after a mid-stack block becomes the top, a further pull into empty space still launches
  2678. 268317:51:17 ok 4 - after a mid-stack block becomes the top, a further pull into empty space still launches
  2679. 268417:51:17 ---
  2680. 268517:51:17 duration_ms: 0.284156
  2681. 268617:51:17 ...
  2682. 268717:51:17 1..4
  2683. 268817:51:17ok 75 - Manual launch of the already-topmost block
  2684. 268917:51:17 ---
  2685. 269017:51:17 duration_ms: 55.682061
  2686. 269117:51:17 type: 'suite'
  2687. 269217:51:17 ...
  2688. 269317:51:17# Subtest: Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104)
  2689. 269417:51:17 # Subtest: grabs instantly on beginDrag with no hold delay or elapsed time
  2690. 269517:51:17 ok 1 - grabs instantly on beginDrag with no hold delay or elapsed time
  2691. 269617:51:17 ---
  2692. 269717:51:17 duration_ms: 0.836448
  2693. 269817:51:17 ...
  2694. 269917:51:17 # Subtest: snaps to the nearest still block when the press is slightly outside it
  2695. 270017:51:17 ok 2 - snaps to the nearest still block when the press is slightly outside it
  2696. 270117:51:17 ---
  2697. 270217:51:17 duration_ms: 0.36067
  2698. 270317:51:17 ...
  2699. 270417:51:17 # Subtest: horizontal slop grabs a neighbouring column when the press is near the edge
  2700. 270517:51:17 ok 3 - horizontal slop grabs a neighbouring column when the press is near the edge
  2701. 270617:51:17 ---
  2702. 270717:51:17 duration_ms: 0.355811
  2703. 270817:51:17 ...
  2704. 270917:51:17 # Subtest: a slightly diagonal drag stays in the starting column
  2705. 271017:51:17 ok 4 - a slightly diagonal drag stays in the starting column
  2706. 271117:51:17 ---
  2707. 271217:51:17 duration_ms: 0.308683
  2708. 271317:51:17 ...
  2709. 271417:51:17 # Subtest: a short move that stays inside the same cell does not swap
  2710. 271517:51:17 ok 5 - a short move that stays inside the same cell does not swap
  2711. 271617:51:17 ---
  2712. 271717:51:17 duration_ms: 0.230285
  2713. 271817:51:17 ...
  2714. 271917:51:17 # Subtest: a 1-tile downward drag swaps exactly one step and stops when the pointer stops
  2715. 272017:51:17 ok 6 - a 1-tile downward drag swaps exactly one step and stops when the pointer stops
  2716. 272117:51:17 ---
  2717. 272217:51:17 duration_ms: 0.253628
  2718. 272317:51:17 ...
  2719. 272417:51:17 # Subtest: a 1-tile upward drag swaps exactly one step and stops when the pointer stops
  2720. 272517:51:17 ok 7 - a 1-tile upward drag swaps exactly one step and stops when the pointer stops
  2721. 272617:51:17 ---
  2722. 272717:51:17 duration_ms: 0.368576
  2723. 272817:51:17 ...
  2724. 272917:51:17 # Subtest: a 2-tile drag then stop leaves the block on the row under the pointer
  2725. 273017:51:17 ok 8 - a 2-tile drag then stop leaves the block on the row under the pointer
  2726. 273117:51:17 ---
  2727. 273217:51:17 duration_ms: 0.37074
  2728. 273317:51:17 ...
  2729. 273417:51:17 # Subtest: a fast swipe of several tiles swaps through every block and does not skip
  2730. 273517:51:17 ok 9 - a fast swipe of several tiles swaps through every block and does not skip
  2731. 273617:51:17 ---
  2732. 273717:51:17 duration_ms: 0.272404
  2733. 273817:51:17 ...
  2734. 273917:51:17 1..9
  2735. 274017:51:17ok 76 - Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104)
  2736. 274117:51:17 ---
  2737. 274217:51:17 duration_ms: 3.882676
  2738. 274317:51:17 type: 'suite'
  2739. 274417:51:17 ...
  2740. 274517:51:171..76
  2741. 274617:51:17# tests 347
  2742. 274717:51:17# suites 76
  2743. 274817:51:17# pass 346
  2744. 274917:51:17# fail 1
  2745. 275017:51:17# cancelled 0
  2746. 275117:51:17# skipped 0
  2747. 275217:51:17# todo 0
  2748. 275317:51:17# duration_ms 4675.183352
275417:51:17container ended with an error: exit status 1