[PR #456] [MERGED] frexp_ldexp_f16_mods_probe: prevent duplicate selections from hiding failures #507

Closed
opened 2026-11-26 20:18:06 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/456
Author: @EdenBendheim
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: ubiq/frexp-probe-dedup-selections


📝 Commits (1)

  • 3bc75c7 frexp probe: deduplicate wave and op selections

📊 Changes

2 files changed (+102 additions, -4 deletions)

View changed files

📝 tests/test_frexp_ldexp_f16_mods_probe.py (+83 -0)
📝 tools/frexp_ldexp_f16_mods_probe.py (+19 -4)

📄 Description

Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7123199710

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/456 **Author:** [@EdenBendheim](https://github.com/EdenBendheim) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `ubiq/frexp-probe-dedup-selections` --- ### 📝 Commits (1) - [`3bc75c7`](https://github.com/ubiquitarianism/leonida/commit/3bc75c792f83067d6ce51056bdb6bb4b7cba7077) frexp probe: deduplicate wave and op selections ### 📊 Changes **2 files changed** (+102 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_frexp_ldexp_f16_mods_probe.py` (+83 -0) 📝 `tools/frexp_ldexp_f16_mods_probe.py` (+19 -4) </details> ### 📄 Description Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7123199710 ### 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:06 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#507
No description provided.