Skip to content

[codex] Fix latest main test failures - #2

Draft
atimics wants to merge 1 commit into
codex/base-main-f6dfc50from
codex/fix-main-failing-tests
Draft

[codex] Fix latest main test failures#2
atimics wants to merge 1 commit into
codex/base-main-f6dfc50from
codex/fix-main-failing-tests

Conversation

@atimics

@atimics atimics commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the latest main test failures observed after rebasing onto origin/main.

  • Makes ScalarEncoder.decode resolve near-ties with the scalar cosine path that the cached decode is meant to match.
  • Stabilizes anisotropic splat early-stop and coarse-to-fine densify defaults under the current NumPy/BLAS runtime.
  • Widens the private MIS generation probe beam and updates the recorded measurement so the verifier setup is real again while the durable no-op claim remains exact.

Root Cause

The failures were mostly runtime-sensitive numeric boundary cases:

  • Cached scalar decode and the old scalar loop summed in different orders, flipping a midpoint tie.
  • The anisotropic splat optimizer landed exactly on an early-stop boundary and the densify schedule used Adam settings that were too aggressive on this runtime.
  • The MIS probe's actual invariant, balance == verifier, still held exactly, but the narrow beam made the setup assertion brittle.

Validation

  • Targeted failing subset: 7 passed
  • Related files: 26 passed
  • Full suite, unsandboxed for localhost/process-pool tests: 3761 passed, 20 skipped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant