Repository navigation
spec(t27f): particle_engine -- a particle engine on real physics, controlled through forces, every visual derived from state - #10310
Merged
Conversation
…trolled through forces, every visual derived from state (Closes #10309) Sixteen SI bodies under gravity, Stokes drag, softened Coulomb, Hertz contact with a Cundall-Strack dashpot, floor and walls; velocity Verlet at 8 x 1/480 s per frame. Agent events drive a critically damped PD controller. Glow, Schlick floor reflection and motion streaks are computed from state into a display list and a pixel grid. 21/21 tests, 0 vacuous; eight planted faults caught. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
This was referenced Oct 18, 2026
gHashTag
added a commit
that referenced
this pull request
Oct 18, 2026
#10316) master's duplicate-bodies check fails at 4414941: "a body written under log_frame is now copied [2] time(s) and was in no ledger". #10310 added specs/t27f/particle_engine.t27, whose log_frame has the same body as specs/t27f/particle_field.t27's. #10312 blessed the ledger before #10310 merged, so the copy was in no ledger. The one new line, `log_frame 2`, is `python3 tools/dupe_scan.py --bless` output, run on the Railway lab at master 4414941. The file's sha256 here (8f2300b5) matches the lab's. No other group changed: 188 groups and 662 bodies, as before. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10309
What
specs/t27f/particle_engine.t27, a particle engine on real physics from which the visual quantities are derived.Contact models tried
Each was measured on the lab before choosing:
Checks (Railway lab, t27c test-report)
21 of 21 pass, 0 vacuous:
Planted faults: each of the eight was caught.
Other checks:
tools/dupe_scan.py --like: nothing in the file is written elsewhere.Not in this PR
@printalso passes into the generated Zig unlowered, so a spec cannot write a frame file.🤖 Generated with Claude Code