frexp_ldexp_f16_mods_probe: prevent duplicate selections from hiding failures #456

Manually merged
github merged 1 commit from gh-pr/456/head into gh-pr/456/base 2026-11-26 09:01:17 +00:00
Owner

@⁠EdenBendheim on GitHub · 2026-11-24 05:42 UTC · original
EdenBendheim:ubiq/frexp-probe-dedup-selections → main · +102 −4 · 2 files · 1 commits · merged 2026-11-24 08:52 UTC

Claim: #14

What changed

  • tools/frexp_ldexp_f16_mods_probe.py: Deduplicate --waves and --ops selections in first-seen order so repeated selections do not run the same job twice and let a later passing readback overwrite an earlier failure. Direct evaluate_results() calls record a duplicate job result harness error (exiting 2) while preserving the first measurement's evaluated words and first_mismatches.
  • tests/test_frexp_ldexp_f16_mods_probe.py: Synthetic regressions covering CLI deduplication, direct duplicate readbacks (asserting both preserved mismatches and harness error), selection order, and identical reports.

Testing & Disclosure

  • AI-assisted: Implemented with Codex (gpt-6.2-sol) and reviewed with Codex (gpt-6.2-astra).
  • Environment: macOS 27.3, Apple M1 Max, Python 3.14.3, Homebrew LLVM 21.1.8 (CPU-only, synthetic oracle, zero game data).
  • Verified on ubiquitarianism/leonida main (8f481cf16): test_frexp_ldexp_f16_mods_probe.py (19/19), --self-test (1,733 synthetic words), check_no_game_data.py, LF check — all passed.
**@⁠EdenBendheim** on GitHub · 2026-11-24 05:42 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/456) `EdenBendheim:ubiq/frexp-probe-dedup-selections` → `main` · +102 −4 · 2 files · 1 commits · merged 2026-11-24 08:52 UTC Claim: https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14 ### What changed - **`tools/frexp_ldexp_f16_mods_probe.py`**: Deduplicate `--waves` and `--ops` selections in first-seen order so repeated selections do not run the same job twice and let a later passing readback overwrite an earlier failure. Direct `evaluate_results()` calls record a `duplicate job result` harness error (exiting `2`) while preserving the first measurement's evaluated words and `first_mismatches`. - **`tests/test_frexp_ldexp_f16_mods_probe.py`**: Synthetic regressions covering CLI deduplication, direct duplicate readbacks (asserting both preserved mismatches and harness error), selection order, and identical reports. ### Testing & Disclosure - **AI-assisted:** Implemented with Codex (`gpt-6.2-sol`) and reviewed with Codex (`gpt-6.2-astra`). - **Environment:** macOS 27.3, Apple M1 Max, Python 3.14.3, Homebrew LLVM 21.1.8 (CPU-only, synthetic oracle, zero game data). - **Verified on `ubiquitarianism/leonida` `main` (`8f481cf16`):** `test_frexp_ldexp_f16_mods_probe.py` (19/19), `--self-test` (1,733 synthetic words), `check_no_game_data.py`, LF check — all passed.
Run each selected job once in first-seen order. Treat duplicate result records as harness errors so a later readback cannot overwrite a failed measurement.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:01:16 +00:00
github manually merged commit 3bc75c792f into gh-pr/456/base 2026-11-26 09:01:17 +00:00
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 08:52 UTC · original

Merging. Why merged: duplicate --ops/--waves selections can no longer hide harness errors in the frexp/ldexp f16 probe.
Why it's good: security-reviewed; on main 1c93c86: probe tests 13 -> 18 (9 fail without the fix); repo-consistency set 563/563.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 08:52 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/456#issuecomment-7126675731) Merging. Why merged: duplicate --ops/--waves selections can no longer hide harness errors in the frexp/ldexp f16 probe. Why it's good: security-reviewed; on main 1c93c86: probe tests 13 -> 18 (9 fail without the fix); repo-consistency set 563/563. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.