test(physics): characterise mass-ratio + no-CCD envelope (SG-MR3, SG-X5)#184
Merged
Conversation
Pin the two TGS-Soft operating limits the W9 review flagged as undocumented and ungated. Both stay finite/stable — they are accuracy/coverage gaps, not bugs. - SG-MR3: at a ~100:1 mass ratio a crushed light box settles a small, bounded distance into the floor (~1.4px, measured here) and its centre never sinks below the surface. Past ~100:1 the velocity-capped soft push-out (maxBiasVelocity) lets penetration grow sharply (~6px at 500:1, fully through by ~5000:1). Pins the envelope edge so a regression into deep penetration at 100:1 is caught. - SG-X5: a body moving farther than the floor thickness in one frame tunnels through it (detection runs once per frame — no CCD) but stays finite. Pins the finiteness contract for fast bodies. Document the operating envelope (mass-ratio ceiling, no-CCD tunnelling, load-bearing subStepCount >= 2) on PhysicsWorld and tighten the subStepCount option doc. No solver behaviour change; physics is not in build-api so there is no api-mdx delta. Gates green: physics test (90 passed), typecheck, lint, format, docs:api:check. No version bump / tag / publish.
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.
Was
Schließt die zwei optionalen Solver-Characterization-Lücken aus dem W9-Review (
v015-verification.json→concerns): die zwei dokumentierten TGS-Soft-Grenzen, die bislang kein Gate hatten. Beide bleiben finit/stabil — es sind Accuracy/Coverage-Lücken, keine Bugs. Kein Solver-Verhalten wird geändert (reine Characterization-Tests + Doku).Gates (
dynamics.test.ts)maxBiasVelocity) die Penetration wachsen (≈6px@500:1, komplett durch bei ~5000:1). Pinnt die Envelope-Kante → eine Regression in tiefe Penetration bei 100:1 wird gefangen.Doku
PhysicsWorld-Klassendoku um einen „Operating envelope"-Abschnitt erweitert (Mass-Ratio-Decke, No-CCD-Tunneling, load-bearingsubStepCount ≥ 2), je mit Gate-Referenz;subStepCount-Option-Doc verschärft (Werte < 2 degradieren Stacking sichtbar → Default nicht für Perf senken). Physics ist nicht inbuild-api→ kein api-mdx-Delta (docs:api:check grün).Gates lokal grün
physics
test(90 passed),typecheck,lint,format:check,docs:api:check. Kein Versions-Bump/Tag/Publish.