Physics test pass for sand, molten metal and gases; stuck gas finishes, steam is not deleted (t21)
- New test/t_physics.js: heaps, sorting, sinking, world edges; molten copper levelling, setting, quenching, slag over copper, cavity filling; smoke, steam, fire, sealed pockets, the top row. - Gas in a sealed pocket kept its area asleep and never faded or condensed: gas() keeps its area awake while it lasts. - A rain drop or blown grain landing on steam deleted the steam's water: it goes to the clouds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,21 @@ What agents have done, newest first. Add an entry for every piece of work: the d
|
||||
note or request it was for, what changed, the files touched, the tests run, and anything left
|
||||
open or not verified. Keep each entry short; the git history has the details.
|
||||
|
||||
## 2026-10-24: t21 phase 2: physics test pass for sand, molten metal and gases (Claude Code, Codex)
|
||||
|
||||
- `test/t_physics.js` (41 checks): heaps, digging under a heap, ore sorting through ash, sand
|
||||
sinking in a pond, world edges; molten copper levelling (slower than water), setting, sinking in
|
||||
a pond, slag over copper, filling a cavity; smoke rising and fading (longer under a roof), steam
|
||||
condensing, fire going out, gas in sealed pockets, gas leaving at the top row. Every scenario
|
||||
checks that its areas go back to sleep.
|
||||
- Found and fixed: gas stuck in a pocket never finished fading or condensing because its area
|
||||
slept (`gas()` keeps its area awake: steady cost 1.34 -> 1.37 ms/tick); a rain drop or blown
|
||||
grain landing on steam deleted that steam's water (`landFlyer`/`depositNear` in
|
||||
`src/sim/vacuum.js` now send it to the clouds).
|
||||
- Found, owner decided: a resting pile never sorts. To follow: piles near the bot keep sorting,
|
||||
and sorting gets quick.
|
||||
- Tests: `run_all.py --browser` ALL PASSED; seeds 777 and 77 generate the same worlds.
|
||||
|
||||
## 2026-10-24: t21 phase 1: water test pass, faster pouring, rain spreads (Claude Code, Codex)
|
||||
|
||||
- `test/t_water.js` (20 checks): conservation, levelling and sleep, pools pouring off ledges,
|
||||
|
||||
Reference in New Issue
Block a user