Repository navigation
fix(placement): recover supported floors from source feet - #148
Merged
Merged
Conversation
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.
The floor fitter returned its starting height as measured geometry when fewer than 500 points supported it. On the fresh corridor, 333 points produced a plausible size pass while the avatar floated well above the visible tiled floor.
Require finite, nondegenerate support throughout fitting. If a single-person run lacks local support, recover an inferred floor from unique frontmost world points immediately below the observed source feet. Unknown/cropped masks, mixed or mismatched track identities, insufficient support, and recovered tilt above 15° refuse. Existing supported local fits remain unchanged. Placement receipts bind the new helper and mask loader.
On the retained corridor, recovery finds 6,970 inliers and passes the final size check without overrides. Actual Chrome playback/seek and a matched lateral comparison show the avatar on the visible floor instead of floating in the foreground. Silhouette IoU is 0.877, area ratio 0.989; camera trace, held-out contact and observation-mask checks pass. Independent ruler disagreement improves from 79.6% to 29.9%, but still fails the unchanged 15% limit. Generated side distortion and all five world depth-spread failures remain; this does not claim E2E visual acceptance.
Validation: 180 focused mask, solver, refusal and provenance tests; all 2,755 Python tests pass, Ruff and repository formatting pass; retained lobby/elevator/forest plane-neighbourhood replays produce exactly identical coefficients to the prior supported estimator. Independent review caught and verified fixes for mixed masks and steep surfaces. Review guards reproduce the corridor's exact sampled points and plane.
Evidence stays local under
.context/evidence/corridor-surface-repair-20261126/. Original source/world/placement unchanged. $0 provider spend; no new upload, replacement world, paid fit or human review. Two analytic projective probes were rejected before export and recorded in known limits.