BlueGit

projects-timfalken-com allianties

unit_tests

Pipelines Pipeline Editor

Passed Started 4 days ago by timfa

Raw

Running on Steve

Log timestamps in UTC.

  1. 123:26:51Using docker image node:20-bookworm ...
  2. 223:26:51Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 323:26:51Running on Steve via BlueGit...
  2. 423:26:51Working directory: /workspace
  3. 523:26:51Pipeline #707, job #2744
  1. 623:26:53debconf: delaying package configuration, since apt-utils is not installed
  2. 723:26:58TAP version 13
  3. 823:26:58# Subtest: deploy_guard
  4. 923:26:58 # Subtest: expands $timftproot and ${timftproot} and collapses double slashes
  5. 1023:26:58 ok 1 - expands $timftproot and ${timftproot} and collapses double slashes
  6. 1123:26:58 ---
  7. 1223:26:58 duration_ms: 46.753148
  8. 1323:26:58 ...
  9. 1423:26:58 # Subtest: refuses the FTP root, a missing secret, and a non-allianties leaf
  10. 1523:26:58 ok 2 - refuses the FTP root, a missing secret, and a non-allianties leaf
  11. 1623:26:58 ---
  12. 1723:26:58 duration_ms: 40.254088
  13. 1823:26:58 ...
  14. 1923:26:58 # Subtest: the CLI exits 0 for a good path and does not print the path
  15. 2023:26:58 ok 3 - the CLI exits 0 for a good path and does not print the path
  16. 2123:26:58 ---
  17. 2223:26:58 duration_ms: 14.328718
  18. 2323:26:58 ...
  19. 2423:26:58 1..3
  20. 2523:26:58ok 1 - deploy_guard
  21. 2623:26:58 ---
  22. 2723:26:58 duration_ms: 102.469902
  23. 2823:26:58 type: 'suite'
  24. 2923:26:58 ...
  25. 3023:26:58# Subtest: assert_safe_target
  26. 3123:26:58 # Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names
  27. 3223:26:58 ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names
  28. 3323:26:58 ---
  29. 3423:26:58 duration_ms: 26.941257
  30. 3523:26:58 ...
  31. 3623:26:58 # Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  32. 3723:26:58 ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  33. 3823:26:58 ---
  34. 3923:26:58 duration_ms: 24.041989
  35. 4023:26:58 ...
  36. 4123:26:58 1..2
  37. 4223:26:58ok 2 - assert_safe_target
  38. 4323:26:58 ---
  39. 4423:26:58 duration_ms: 51.215525
  40. 4523:26:58 type: 'suite'
  41. 4623:26:58 ...
  42. 4723:26:58# Subtest: auth_config_php
  43. 4823:26:58 # Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp)
  44. 4923:26:58 ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp)
  45. 5023:26:58 ---
  46. 5123:26:58 duration_ms: 46.074697
  47. 5223:26:58 ...
  48. 5323:26:58 1..1
  49. 5423:26:58ok 3 - auth_config_php
  50. 5523:26:58 ---
  51. 5623:26:58 duration_ms: 46.331803
  52. 5723:26:58 type: 'suite'
  53. 5823:26:58 ...
  54. 5923:26:58# Subtest: i18n catalog
  55. 6023:26:58 # Subtest: lists every supported locale
  56. 6123:26:58 ok 1 - lists every supported locale
  57. 6223:26:58 ---
  58. 6323:26:58 duration_ms: 1.073775
  59. 6423:26:58 ...
  60. 6523:26:58 # Subtest: has the same non-empty keys in every language
  61. 6623:26:58 ok 2 - has the same non-empty keys in every language
  62. 6723:26:58 ---
  63. 6823:26:58 duration_ms: 1.935811
  64. 6923:26:58 ...
  65. 7023:26:58 # Subtest: keeps English placeholders in every translation
  66. 7123:26:58 ok 3 - keeps English placeholders in every translation
  67. 7223:26:58 ---
  68. 7323:26:58 duration_ms: 2.989849
  69. 7423:26:58 ...
  70. 7523:26:58 # Subtest: never translates the game name Allianties
  71. 7623:26:58 ok 4 - never translates the game name Allianties
  72. 7723:26:58 ---
  73. 7823:26:58 duration_ms: 0.204065
  74. 7923:26:58 ...
  75. 8023:26:58 # Subtest: maps every known server error code
  76. 8123:26:58 ok 5 - maps every known server error code
  77. 8223:26:58 ---
  78. 8323:26:58 duration_ms: 0.157167
  79. 8423:26:58 ...
  80. 8523:26:58 1..5
  81. 8623:26:58ok 4 - i18n catalog
  82. 8723:26:58 ---
  83. 8823:26:58 duration_ms: 7.377055
  84. 8923:26:58 type: 'suite'
  85. 9023:26:58 ...
  86. 9123:26:58# Subtest: Rules grid and Chebyshev
  87. 9223:26:58 # Subtest: suggests max(10, players + 1), capped at 24
  88. 9323:26:58 ok 1 - suggests max(10, players + 1), capped at 24
  89. 9423:26:58 ---
  90. 9523:26:58 duration_ms: 0.68882
  91. 9623:26:58 ...
  92. 9723:26:58 # Subtest: uses Chebyshev distance (diagonals included)
  93. 9823:26:58 ok 2 - uses Chebyshev distance (diagonals included)
  94. 9923:26:58 ---
  95. 10023:26:58 duration_ms: 0.120557
  96. 10123:26:58 ...
  97. 10223:26:58 # Subtest: passable accounts for arena inset
  98. 10323:26:58 ok 3 - passable accounts for arena inset
  99. 10423:26:58 ---
  100. 10523:26:58 duration_ms: 0.13279
  101. 10623:26:58 ...
  102. 10723:26:58 1..3
  103. 10823:26:58ok 5 - Rules grid and Chebyshev
  104. 10923:26:58 ---
  105. 11023:26:58 duration_ms: 1.884544
  106. 11123:26:58 type: 'suite'
  107. 11223:26:58 ...
  108. 11323:26:58# Subtest: Rules cease-fire, midnight wrap and DST
  109. 11423:26:58 # Subtest: treats 23:30 as cease-fire wrapping to 06:00 next day
  110. 11523:26:58 ok 1 - treats 23:30 as cease-fire wrapping to 06:00 next day
  111. 11623:26:58 ---
  112. 11723:26:58 duration_ms: 24.220665
  113. 11823:26:58 ...
  114. 11923:26:58 # Subtest: treats the end timestamp as exclusive
  115. 12023:26:58 ok 2 - treats the end timestamp as exclusive
  116. 12123:26:58 ---
  117. 12223:26:58 duration_ms: 12.546225
  118. 12323:26:58 ...
  119. 12423:26:58 # Subtest: handles a second daytime range and countdown seconds
  120. 12523:26:58 ok 3 - handles a second daytime range and countdown seconds
  121. 12623:26:58 ---
  122. 12723:26:58 duration_ms: 29.783298
  123. 12823:26:58 ...
  124. 12923:26:58 # Subtest: shortens 01:00–04:00 across the 2026 spring-forward to 2 real hours
  125. 13023:26:58 ok 4 - shortens 01:00–04:00 across the 2026 spring-forward to 2 real hours
  126. 13123:26:59 ---
  127. 13223:26:59 duration_ms: 16.554756
  128. 13323:26:59 ...
  129. 13423:26:59 # Subtest: lengthens 01:00–03:30 across the 2026 fall-back to 3.5 real hours
  130. 13523:26:59 ok 5 - lengthens 01:00–03:30 across the 2026 fall-back to 3.5 real hours
  131. 13623:26:59 ---
  132. 13723:26:59 duration_ms: 19.196129
  133. 13823:26:59 ...
  134. 13923:26:59 # Subtest: is inactive when the rule is off or ranges are empty
  135. 14023:26:59 ok 6 - is inactive when the rule is off or ranges are empty
  136. 14123:26:59 ---
  137. 14223:26:59 duration_ms: 1.321613
  138. 14323:26:59 ...
  139. 14423:26:59 # Subtest: merges overlapping ranges for the countdown
  140. 14523:26:59 ok 7 - merges overlapping ranges for the countdown
  141. 14623:26:59 ---
  142. 14723:26:59 duration_ms: 13.409694
  143. 14823:26:59 ...
  144. 14923:26:59 # Subtest: formats HH:MM:SS countdowns
  145. 15023:26:59 ok 8 - formats HH:MM:SS countdowns
  146. 15123:26:59 ---
  147. 15223:26:59 duration_ms: 0.19582
  148. 15323:26:59 ...
  149. 15423:26:59 1..8
  150. 15523:26:59ok 6 - Rules cease-fire, midnight wrap and DST
  151. 15623:26:59 ---
  152. 15723:26:59 duration_ms: 117.971922
  153. 15823:26:59 type: 'suite'
  154. 15923:26:59 ...
  155. 16023:26:59# Subtest: Rules timelineIndex (nearest event)
  156. 16123:26:59 # Subtest: returns 0 when there are no spends
  157. 16223:26:59 ok 1 - returns 0 when there are no spends
  158. 16323:26:59 ---
  159. 16423:26:59 duration_ms: 0.174339
  160. 16523:26:59 ...
  161. 16623:26:59 # Subtest: maps 0 to the start and 1 to live (after the last spend)
  162. 16723:26:59 ok 2 - maps 0 to the start and 1 to live (after the last spend)
  163. 16823:26:59 ---
  164. 16923:26:59 duration_ms: 0.172856
  165. 17023:26:59 ...
  166. 17123:26:59 # Subtest: jumps to the nearest event along the bar
  167. 17223:26:59 ok 3 - jumps to the nearest event along the bar
  168. 17323:26:59 ---
  169. 17423:26:59 duration_ms: 0.119745
  170. 17523:26:59 ...
  171. 17623:26:59 1..3
  172. 17723:26:59ok 7 - Rules timelineIndex (nearest event)
  173. 17823:26:59 ---
  174. 17923:26:59 duration_ms: 0.640919
  175. 18023:26:59 type: 'suite'
  176. 18123:26:59 ...
  177. 18223:26:591..7
  178. 18323:26:59# tests 25
  179. 18423:26:59# suites 7
  180. 18523:26:59# pass 25
  181. 18623:26:59# fail 0
  182. 18723:26:59# cancelled 0
  183. 18823:26:59# skipped 0
  184. 18923:26:59# todo 0
  185. 19023:26:59# duration_ms 243.175837
  186. 19123:26:59auth-config ok
  187. 19223:26:59Engine: grid suggestion and placement
  188. 19323:26:59 ok 1 player → 10 (min suggestion)
  189. 19423:26:59 ok 2 players → 10 (max(10, 3))
  190. 19523:26:59 ok 9 players → 10 (max(10, 10))
  191. 19623:26:59 ok 10 players → 11
  192. 19723:26:59 ok 16 players → 17
  193. 19823:26:59 ok capped at MAX_GRID 24
  194. 19923:26:59 ok gridSize aliases suggestedGrid
  195. 20023:26:59 ok clamp below min → 6
  196. 20123:26:59 ok clamp above max → 24
  197. 20223:26:59 ok clamp mid unchanged
  198. 20323:26:59 ok 6×6 fits 2
  199. 20423:26:59 ok 6×6 has enough tiles for 16
  200. 20523:26:59 ok below MIN_GRID does not fit
  201. 20623:26:59 ok above MAX_GRID does not fit
  202. 20723:26:59 ok 6×6 max inset 1 (leaves 4×4, min arena 3)
  203. 20823:26:59 ok 7×7 max inset 2 (leaves 3×3)
  204. 20923:26:59 ok 4 starting positions
  205. 21023:26:59 ok starting positions are unique
  206. 21123:26:59 ok start in bounds 3,1
  207. 21223:26:59 ok start in bounds 4,3
  208. 21323:26:59 ok start in bounds 3,4
  209. 21423:26:59 ok start in bounds 1,3
  210. 21523:26:59Engine: Chebyshev range
  211. 21623:26:59 ok diagonal 2 is range 2
  212. 21723:26:59 ok orthogonal 2 is range 2
  213. 21823:26:59 ok same tile is 0
  214. 21923:26:59Engine: midnight Amsterdam
  215. 22023:26:59 ok next midnight after 23:30 is 00:00 next day: 2026-11-14 00:00:00
  216. 22123:26:59 ok at exactly 00:00, next is tomorrow
  217. 22223:26:59 ok DST: next midnight still 00:00: 2026-03-29 00:00:00
  218. 22323:26:59Engine: lobby and start
  219. 22423:26:59 ok new lobby
  220. 22523:26:59 ok jury default ON
  221. 22623:26:59 ok shrink default OFF
  222. 22723:26:59 ok shrink interval default 7
  223. 22823:26:59 ok ceasefire default OFF
  224. 22923:26:59 ok ceasefire ranges empty by default
  225. 23023:26:59 ok vis_shots default public
  226. 23123:26:59 ok vis_gifts default public
  227. 23223:26:59 ok vis_ap default public
  228. 23323:26:59 ok vis_range default public
  229. 23423:26:59 ok vis_lives default public
  230. 23523:26:59 ok ap_loot default OFF
  231. 23623:26:59 ok ap_time default 00:00
  232. 23723:26:59 ok lobby suggested grid 10 for 1 player
  233. 23823:26:59 ok grid_auto default ON
  234. 23923:26:59 ok game.grid mirrors suggestion in lobby
  235. 24023:26:59 ok host is creator
  236. 24123:26:59 ok start alone: min_players
  237. 24223:26:59 ok 2 players
  238. 24323:26:59 ok non-host cannot start
  239. 24423:26:59 ok started
  240. 24523:26:59 ok auto grid for 2 players is 10
  241. 24623:26:59 ok start with 1 AP
  242. 24723:26:59 ok start with 3 lives
  243. 24823:26:59 ok start with range 2
  244. 24923:26:59 ok not overlapping
  245. 25023:26:59 ok next AP at next midnight: 2026-11-14 00:00:00
  246. 25123:26:59Engine: move, blocked, AP
  247. 25223:26:59 ok Alice has at least one move
  248. 25323:26:59 ok moved
  249. 25423:26:59 ok spent 1 AP
  250. 25523:26:59 ok move event
  251. 25623:26:59 ok move is a spend tick
  252. 25723:26:59 ok no AP: invalid_move
  253. 25823:26:59Engine: shoot and death and win
  254. 25923:26:59 ok Bob is in range 2 (actually dist 1)
  255. 26023:26:59 ok Bob has 2 lives
  256. 26123:26:59 ok Bob is dead
  257. 26223:26:59 ok game finished
  258. 26323:26:59 ok Alice wins
  259. 26423:26:59 ok death event
  260. 26523:26:59 ok win event
  261. 26623:26:59Engine: give AP and upgrade
  262. 26723:26:59 ok Alice spent 2
  263. 26823:26:59 ok Bob received 2
  264. 26923:26:59 ok bad_give
  265. 27023:26:59 ok range is now 3
  266. 27123:26:59 ok upgrade costs 1
  267. 27223:26:59Engine: out of range and occupied
  268. 27323:26:59 ok Bob at (5,5) is out of range 2 from (0,0)
  269. 27423:26:59 ok out_of_range
  270. 27523:26:59 ok cannot move onto Bob
  271. 27623:26:59Engine: surrender
  272. 27723:26:59 ok Bob surrendered
  273. 27823:26:59 ok flagged surrendered
  274. 27923:26:59 ok Alice wins after surrender
  275. 28023:26:59Engine: daily AP grant
  276. 28123:26:59 ok day is 1
  277. 28223:26:59 ok Alice got 1 AP
  278. 28323:26:59 ok Bob got 1 AP
  279. 28423:26:59 ok caught up to day 3, day=3
  280. 28523:26:59 ok 3 AP after 3 days (started 0): 3
  281. 28623:26:59Engine: jury
  282. 28723:26:59 ok still running with 2 alive
  283. 28823:26:59 ok c voted a
  284. 28923:26:59 ok d changed vote to b
  285. 29023:26:59 ok living cannot vote
  286. 29123:26:59 ok Alice (living) has no vote
  287. 29223:26:59 ok Charlie sees own vote
  288. 29323:26:59 ok votes not in present payload
  289. 29423:26:59 ok Alice got 1+1 (tie): 2
  290. 29523:26:59 ok Bob got 1+1 (tie): 2
  291. 29623:26:59 ok votes reset after distribution
  292. 29723:26:59 ok Alice unique jury winner: 2
  293. 29823:26:59 ok Bob only regular 1: 1
  294. 29923:26:59 ok jury off: cannot_vote
  295. 30023:26:59Engine: shrinking arena
  296. 30123:26:59 ok host-chosen 6×6
  297. 30223:26:59 ok shrink in 2 days (interval 2, day 0): 2
  298. 30323:26:59 ok day 1
  299. 30423:26:59 ok no shrink on day 1
  300. 30523:26:59 ok Alice still on (0,0)
  301. 30623:26:59 ok Alice still 3 lives
  302. 30723:26:59 ok shrink in 1 day
  303. 30823:26:59 ok day 2
  304. 30923:26:59 ok inset is 1
  305. 31023:26:59 ok Alice lost 1 life: 2
  306. 31123:26:59 ok Alice pushed inward to passable 1,1
  307. 31223:26:59 ok not onto Bob
  308. 31323:26:59 ok Bob unhurt in centre
  309. 31423:26:59 ok Alice got day-1 and day-2 AP after surviving shrink: 2
  310. 31523:26:59 ok legal move 1,2 is passable
  311. 31623:26:59 ok legal move 2,1 is passable
  312. 31723:26:59 ok does not shrink past max inset: 1
  313. 31823:26:59 ok no upcoming shrink at max
  314. 31923:26:59Engine: shrink kills and crush and draw
  315. 32023:26:59 ok Alice died on shrink (1 life)
  316. 32123:26:59 ok Bob died on shrink (1 life)
  317. 32223:26:59 ok finished
  318. 32323:26:59 ok draw when both die in the same shrink
  319. 32423:26:59Engine: notes and chat privacy
  320. 32523:26:59 ok Alice sees her note on Bob
  321. 32623:26:59 ok Bob does not see Alice’s note
  322. 32723:26:59 ok Alice sees chat
  323. 32823:26:59 ok Bob sees chat
  324. 32923:26:59Engine: modular rule flags
  325. 33023:26:59 ok jury "0" is false
  326. 33123:26:59 ok shrink "1" is true
  327. 33223:26:59 ok interval clamped to max 30: 30
  328. 33323:26:59 ok ceasefire "1" is true
  329. 33423:26:59Engine: cease-fire ranges and midnight wrap
  330. 33523:26:59 ok 2 valid ranges: 2
  331. 33623:26:59 ok sorted, first is 12:00
  332. 33723:26:59 ok wrap range kept
  333. 33823:26:59 ok 23:30 is cease-fire (wrap)
  334. 33923:26:59 ok ends at 06:00 next day: 2026-11-14 06:00
  335. 34023:26:59 ok Attack disabled during cease-fire
  336. 34123:26:59 ok legal.ceasefire true
  337. 34223:26:59 ok non-shoot actions still considered
  338. 34323:26:59 ok can still move during cease-fire
  339. 34423:26:59 ok error code ceasefire: ceasefire
  340. 34523:26:59 ok 06:00 exactly is not cease-fire (end exclusive)
  341. 34623:26:59 ok next cease-fire at 12:00: 12:00
  342. 34723:26:59 ok 12:30 is cease-fire
  343. 34823:26:59 ok ends 13:00: 13:00
  344. 34923:26:59 ok 15:00 is free
  345. 35023:26:59 ok until 22:00: 2026-11-14 22:00
  346. 35123:26:59 ok can shoot when not in cease-fire
  347. 35223:26:59 ok shot landed outside cease-fire
  348. 35323:26:59 ok 21:59 is free
  349. 35423:26:59 ok 60 seconds until cease-fire: 60
  350. 35523:26:59 ok 05:59 still cease-fire
  351. 35623:26:59 ok 60 seconds left in cease-fire: 60
  352. 35723:26:59Engine: cease-fire DST spring-forward (2026-03-29 02:00→03:00)
  353. 35823:26:59 ok 01:00 CEST-transition day is cease-fire
  354. 35923:26:59 ok ends 04:00: 2026-03-29 04:00
  355. 36023:26:59 ok spring-forward 01:00-04:00 is 2 real hours: 7200
  356. 36123:26:59 ok 03:00 (after the jump) is still cease-fire
  357. 36223:26:59 ok 1 hour left at 03:00: 3600
  358. 36323:26:59 ok 00:30 is free
  359. 36423:26:59 ok 30 min until 01:00: 1800
  360. 36523:26:59Engine: cease-fire DST fall-back (2026-10-25 03:00→02:00)
  361. 36623:26:59 ok 01:00 fall-back day is cease-fire
  362. 36723:26:59 ok ends 03:30: 2026-10-25 03:30
  363. 36823:26:59 ok fall-back 01:00-03:30 is 3.5 real hours: 12600
  364. 36923:26:59 ok first 02:15 (still DST) is cease-fire
  365. 37023:26:59 ok second 02:15 (CET) is still cease-fire
  366. 37123:26:59 ok 03:30 exactly is free (end exclusive)
  367. 37223:26:59Engine: cease-fire off or empty ranges
  368. 37323:26:59 ok rule off → no info (ranges ignored)
  369. 37423:26:59 ok on but empty ranges → treated as no cease-fire
  370. 37523:26:59Engine: overlapping ranges merge for countdown
  371. 37623:26:59 ok merged overlapping ends at 13:00: 13:00
  372. 37723:26:59Engine: visibility defaults and invalid values fall back to public
  373. 37823:26:59 ok bad vis_shots → public
  374. 37923:26:59 ok bad vis_gifts → public
  375. 38023:26:59 ok bad vis_ap → public
  376. 38123:26:59 ok bad vis_range → public
  377. 38223:26:59 ok bad vis_lives → public
  378. 38323:26:59 ok accepts elim_known_target
  379. 38423:26:59 ok accepts anonymous
  380. 38523:26:59 ok accepts vis_ap within_range
  381. 38623:26:59 ok accepts known_in_range
  382. 38723:26:59 ok accepts vis_lives within_range
  383. 38823:26:59 ok accepts manual grid 14
  384. 38923:26:59 ok still accepts hidden
  385. 39023:26:59 ok unknown vis_ap/lives values → public
  386. 39123:26:59Engine: vis shots — public (everyone sees, including lives_left when lives public)
  387. 39223:26:59 ok shooter sees public shot
  388. 39323:26:59 ok target sees public shot
  389. 39423:26:59 ok third party sees public shot
  390. 39523:26:59 ok third party sees shooter id
  391. 39623:26:59 ok public lives_left on shot
  392. 39723:26:59 ok damage is 1
  393. 39823:26:59 ok public lives in state
  394. 39923:26:59Engine: vis shots — elim_public (non-elim hidden from third party, visible to target)
  395. 40023:26:59 ok shooter sees non-elim
  396. 40123:26:59 ok target sees non-elim under elim_public
  397. 40223:26:59 ok third party does not see non-elim
  398. 40323:26:59 ok no death on non-elim
  399. 40423:26:59 ok third party sees only the eliminating shot: 1
  400. 40523:26:59 ok the visible shot is the kill
  401. 40623:26:59 ok third party sees death
  402. 40723:26:59 ok elim_public death includes killer
  403. 40823:26:59 ok target sees killer
  404. 40923:26:59 ok death/alive is always public
  405. 41023:26:59Engine: vis shots — known_target (others never see the shot, death without by)
  406. 41123:26:59 ok shooter sees known_target shot
  407. 41223:26:59 ok target sees known_target shot
  408. 41323:26:59 ok third party does not see known_target shot
  409. 41423:26:59 ok third party still sees that B died
  410. 41523:26:59 ok killer stripped for third party under known_target
  411. 41623:26:59 ok target still sees who shot them
  412. 41723:26:59Engine: vis shots — elim_known_target (non-elim hidden even from target)
  413. 41823:26:59 ok shooter sees non-elim under elim_known_target
  414. 41923:26:59 ok target does NOT see non-elim shot (must deduce)
  415. 42023:26:59 ok third party does not see non-elim
  416. 42123:26:59 ok target still sees own lives drop
  417. 42223:26:59 ok lives still public in this game (default)
  418. 42323:26:59 ok target sees only the eliminating shot
  419. 42423:26:59 ok elim shot names the shooter for the target
  420. 42523:26:59 ok third party never sees shots under elim_known_target
  421. 42623:26:59 ok third party death has no by
  422. 42723:26:59Engine: vis shots + hidden lives — lives_left stripped except for the target
  423. 42823:26:59 ok shooter does not get target lives_left
  424. 42923:26:59 ok target sees own lives_left
  425. 43023:26:59 ok third party does not get lives_left
  426. 43123:26:59 ok shooter still sees damage 1
  427. 43223:26:59 ok own lives always visible
  428. 43323:26:59 ok other lives hidden from shooter
  429. 43423:26:59 ok other lives hidden from third party
  430. 43523:26:59 ok target sees own lives
  431. 43623:26:59 ok alive flag still present when lives hidden
  432. 43723:26:59Engine: vis gifts — public, known_recipient, anonymous
  433. 43823:26:59 ok public gift visible to third party with giver and amount
  434. 43923:26:59 ok giver sees own gift
  435. 44023:26:59 ok recipient sees giver
  436. 44123:26:59 ok third party does not see known_recipient gift
  437. 44223:26:59 ok giver sees full anonymous gift in their own log
  438. 44323:26:59 ok recipient sees an anonymous gift event
  439. 44423:26:59 ok event marked anonymous
  440. 44523:26:59 ok giver id stripped for recipient
  441. 44623:26:59 ok recipient sees the AP amount
  442. 44723:26:59 ok recipient is named as target
  443. 44823:26:59 ok third party does not see anonymous gift
  444. 44923:26:59 ok recipient AP actually increased
  445. 45023:26:59 ok stored event still has the giver (present does not mutate)
  446. 45123:26:59 ok sanity
  447. 45223:26:59 ok clone is independent of stored event
  448. 45323:26:59Engine: vis AP totals hidden
  449. 45423:26:59 ok own AP visible when hidden rule is on
  450. 45523:26:59 ok other AP hidden
  451. 45623:26:59 ok third party does not see A’s AP
  452. 45723:26:59 ok daily event present
  453. 45823:26:59 ok hidden AP: only own grant in daily event: {"a":1}
  454. 45923:26:59 ok jury vote counts stripped
  455. 46023:26:59Engine: vis range — hidden and known_in_range
  456. 46123:26:59 ok own range after upgrade
  457. 46223:26:59 ok other range hidden
  458. 46323:26:59 ok upgrader sees own upgrade
  459. 46423:26:59 ok third party does not see hidden upgrade
  460. 46523:26:59 ok B is within A’s range, sees A’s range
  461. 46623:26:59 ok A is within B’s range, sees B’s range
  462. 46723:26:59 ok C is outside A’s range (dist 3 > 2)
  463. 46823:26:59 ok A is outside C’s range (dist 3 > 2)
  464. 46923:26:59 ok C always sees own range
  465. 47023:26:59 ok after upgrade, C is within A’s range and sees it
  466. 47123:26:59 ok C now also sees the upgrade event
  467. 47223:26:59 ok A is still outside C’s range 2
  468. 47323:26:59Engine: movement is always public, even with everything hidden
  469. 47423:26:59 ok move is public
  470. 47523:26:59 ok move names the player and destination
  471. 47623:26:59 ok new position is in the public state
  472. 47723:26:59 ok AP still hidden after the move
  473. 47823:26:59 ok lives still hidden
  474. 47923:26:59 ok range still hidden
  475. 48023:26:59Engine: present() does not leak hidden keys with real values
  476. 48123:26:59 ok JSON-facing ap is null
  477. 48223:26:59 ok JSON-facing lives is null
  478. 48323:26:59 ok JSON-facing range is null
  479. 48423:26:59 ok no numeric secrets for a
  480. 48523:26:59 ok no numeric secrets for b
  481. 48623:26:59Engine: nextDistribution (per-lobby AP time) and DST
  482. 48723:26:59 ok 14:00 → today 15:00: 2026-11-14 15:00:00
  483. 48823:26:59 ok exactly 15:00 → tomorrow 15:00: 2026-11-15 15:00:00
  484. 48923:26:59 ok 16:00 → tomorrow 15:00: 2026-11-15 15:00:00
  485. 49023:26:59 ok 00:00 path equals nextMidnight
  486. 49123:26:59 ok ap_time normalised to HH:MM
  487. 49223:26:59 ok bad ap_time → 00:00
  488. 49323:26:59 ok 24:00 invalid → 00:00
  489. 49423:26:59 ok DST spring: 02:30 candidate is strictly after 01:30
  490. 49523:26:59 ok DST spring: still that calendar day: 2026-03-29 03:30:00 CEST
  491. 49623:26:59 ok DST spring: 04:00 exact: 2026-03-29 04:00:00
  492. 49723:26:59 ok DST fall-back: 02:30 that day: 2026-10-25 02:30:00 CEST
  493. 49823:26:59Engine: AP at a non-midnight lobby time
  494. 49923:26:59 ok start schedules 15:00
  495. 50023:26:59 ok day increments at 15:00
  496. 50123:26:59 ok AP granted at 15:00
  497. 50223:26:59 ok one second before 15:00: no grant
  498. 50323:26:59Engine: AP loot default off; on only for eliminating shots
  499. 50423:26:59 ok B is dead
  500. 50523:26:59 ok dead B has 0 AP
  501. 50623:26:59 ok loot off: A spent 1, did not receive B’s 4 (has 2)
  502. 50723:26:59 ok loot off: no loot field on the kill shot
  503. 50823:26:59 ok loot on: B dead, AP zeroed
  504. 50923:26:59 ok loot on: A spent 1 (3→2) then looted 4 → 6: 6
  505. 51023:26:59 ok shooter sees loot amount
  506. 51123:26:59 ok public AP: third party sees loot
  507. 51223:26:59 ok shooter sees loot even if AP totals hidden
  508. 51323:26:59 ok third party does not see loot amount when AP is hidden
  509. 51423:26:59 ok shooter sees own AP including loot
  510. 51523:26:59 ok third party still does not see A’s total
  511. 51623:26:59 ok non-elim: no loot
  512. 51723:26:59 ok non-elim: B keeps AP
  513. 51823:26:59 ok B surrendered
  514. 51923:26:59 ok surrender does not transfer AP
  515. 52023:26:59 ok surrendered AP is zeroed, not looted
  516. 52123:26:59Engine: vis lives+AP within_range uses the VIEWER's range
  517. 52223:26:59 ok A always sees own lives/AP
  518. 52323:26:59 ok A sees B (dist 1 ≤ A’s range 2)
  519. 52423:26:59 ok A does not see C (dist 3 > A’s range 2)
  520. 52523:26:59 ok B sees A (dist 1 ≤ B’s range 2)
  521. 52623:26:59 ok B does not see C (dist 3 > 2)
  522. 52723:26:59 ok C sees neither A
  523. 52823:26:59 ok C sees neither B
  524. 52923:26:59 ok C sees own lives
  525. 53023:26:59 ok within_range lives/AP: A still cannot see C (C is outside A’s range)
  526. 53123:26:59 ok within_range lives/AP: C can see A (A is inside C’s range 4)
  527. 53223:26:59 ok known_in_range: A CAN see C’s range (A is inside C’s range 4) — opposite of lives/AP
  528. 53323:26:59 ok known_in_range: C cannot see A’s range (C is outside A’s range 2)
  529. 53423:26:59 ok A range is 3
  530. 53523:26:59 ok after A upgrades to 3, A sees C’s lives/AP
  531. 53623:26:59 ok A sees lives_left (B in A’s range)
  532. 53723:26:59 ok B sees own lives_left
  533. 53823:26:59 ok C does not see lives_left (B outside C’s range)
  534. 53923:26:59 ok C still sees damage on a public shot
  535. 54023:26:59 ok C does not see B’s lives in state
  536. 54123:26:59 ok A’s daily grants: own + B, not C: {"a":1,"b":1}
  537. 54223:26:59 ok C’s daily grants: only own: {"c":1}
  538. 54323:26:59 ok A sees loot on eliminating shot
  539. 54423:26:59 ok C sees the public kill shot
  540. 54523:26:59 ok C does not see loot (A is outside C’s range)
  541. 54623:26:59 ok shrink event present for A
  542. 54723:26:59 ok stored shrink has hurt list
  543. 54823:26:59 ok A’s filtered hurt id a is someone whose lives A may see
  544. 54923:26:59Engine: lobby grid option — auto suggestion and manual lock
  545. 55023:26:59 ok new lobby 10 and auto
  546. 55123:26:59 ok 9 players
  547. 55223:26:59 ok still 10 at 9 players (max(10,10))
  548. 55323:26:59 ok 10th player bumps suggestion to 11
  549. 55423:26:59 ok leave drops suggestion back to 10
  550. 55523:26:59 ok manual 14
  551. 55623:26:59 ok 16 players
  552. 55723:26:59 ok manual 14 stays at 16 players (suggestion would be 17)
  553. 55823:26:59 ok starts on host’s 14×14
  554. 55923:26:59 ok all 16 placed
  555. 56023:26:59 ok placed in bounds
  556. 56123:26:59 ok unique start 7,1
  557. 56223:26:59 ok placed in bounds
  558. 56323:26:59 ok unique start 9,1
  559. 56423:26:59 ok placed in bounds
  560. 56523:26:59 ok unique start 10,3
  561. 56623:26:59 ok placed in bounds
  562. 56723:26:59 ok unique start 12,4
  563. 56823:26:59 ok placed in bounds
  564. 56923:26:59 ok unique start 12,7
  565. 57023:26:59 ok placed in bounds
  566. 57123:26:59 ok unique start 12,9
  567. 57223:26:59 ok placed in bounds
  568. 57323:26:59 ok unique start 10,10
  569. 57423:26:59 ok placed in bounds
  570. 57523:26:59 ok unique start 9,12
  571. 57623:26:59 ok placed in bounds
  572. 57723:26:59 ok unique start 7,12
  573. 57823:26:59 ok placed in bounds
  574. 57923:26:59 ok unique start 4,12
  575. 58023:26:59 ok placed in bounds
  576. 58123:26:59 ok unique start 3,10
  577. 58223:26:59 ok placed in bounds
  578. 58323:26:59 ok unique start 1,9
  579. 58423:26:59 ok placed in bounds
  580. 58523:26:59 ok unique start 1,7
  581. 58623:26:59 ok placed in bounds
  582. 58723:26:59 ok unique start 1,4
  583. 58823:26:59 ok placed in bounds
  584. 58923:26:59 ok unique start 3,3
  585. 59023:26:59 ok placed in bounds
  586. 59123:26:59 ok unique start 4,1
  587. 59223:26:59 ok host may start a 6×6
  588. 59323:26:59 ok auto start uses suggested 10
  589. 59423:26:59Engine: no hearts, no buying lives (options do not exist)
  590. 59523:26:59 ok hearts / buy-lives are not accepted rule keys
  591. 59623:26:59
  592. 59723:26:59Engine passed: 367 Failed: 0
  593. 59823:26:59Store: lobby, join, start, actions, sync
  594. 59923:26:59 ok create lobby
  595. 60023:26:59 ok status lobby
  596. 60123:26:59 ok 6-char code: 2FV7KH
  597. 60223:26:59 ok jury on
  598. 60323:26:59 ok shrink off
  599. 60423:26:59 ok ceasefire off
  600. 60523:26:59 ok start alone refused
  601. 60623:26:59 ok Bob joined
  602. 60723:26:59 ok same lobby
  603. 60823:26:59 ok re-join is idempotent
  604. 60923:26:59 ok non-host refused
  605. 61023:26:59 ok host set shrink on
  606. 61123:26:59 ok interval 3
  607. 61223:26:59 ok ceasefire on
  608. 61323:26:59 ok one range stored
  609. 61423:26:59 ok started
  610. 61523:26:59 ok 1 AP at start
  611. 61623:26:59 ok view running
  612. 61723:26:59 ok legal moves in view
  613. 61823:26:59 ok has version
  614. 61923:26:59 ok has server_now
  615. 62023:26:59 ok timezone
  616. 62123:26:59 ok unchanged sync
  617. 62223:26:59 ok no full state when unchanged
  618. 62323:26:59 ok lightweight fields present
  619. 62423:26:59 ok Alice can move
  620. 62523:26:59 ok AP spent
  621. 62623:26:59 ok Bob sees a change
  622. 62723:26:59 ok full state on change
  623. 62823:26:59 ok Bob sees Alice’s new position
  624. 62923:26:59 ok Alice sees her note
  625. 63023:26:59 ok Bob does not
  626. 63123:26:59 ok Alice sees message
  627. 63223:26:59 ok Bob sees message
  628. 63323:26:59 ok join after start refused
  629. 63423:26:59 ok locale stored
  630. 63523:26:59 ok locale read
  631. 63623:26:59 ok zh-Hans normalised to zh
  632. 63723:26:59 ok listed running game
  633. 63823:26:59 ok Dan wins after Cara surrenders
  634. 63923:26:59 ok unknown_code
  635. 64023:26:59 ok bad shoot refused: out_of_range
  636. 64123:26:59 ok AP unchanged after refused action (rollback)
  637. 64223:26:59safeNext
  638. 64323:26:59 ok null next
  639. 64423:26:59 ok empty next
  640. 64523:26:59 ok plain path
  641. 64623:26:59 ok join query with =
  642. 64723:26:59 ok ampersand
  643. 64823:26:59 ok hash fragment
  644. 64923:26:59 ok rejects scheme
  645. 65023:26:59 ok rejects protocol-relative
  646. 65123:26:59 ok rejects absolute path
  647. 65223:26:59 ok rejects backslash
  648. 65323:26:59
  649. 65423:26:59Total passed: 420 Failed: 0