Repository navigation
Commit 97db3f4
lumopolis: the districts-tier loop skips orbs with continue, so V8 counts its branch correctly
CI's coverage gate failed on 77463e3 with branches at 99.94% for world/engine. The one-line form
`for (...) if (!n.orb) n.group.visible = ownTier(...) !== 'districts'` made V8 report the skipped
branch with a negative hit count (-615), which the gate reads as uncovered. Locally the count came
out the same, but the coverage helper only looked for zeros. Writing the loop with a block and
`if (n.orb) continue` gives plain counts (97 orbs and 749 buildings). The behaviour is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent d8d88b1 commit 97db3f4
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | | - | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
1252 | 1255 | | |
1253 | 1256 | | |
1254 | 1257 | | |
| |||
0 commit comments