Skip to content

Resolve frequency and radix contracts for v0.9.1#87

Merged
Arcadia-1 merged 1 commit into
mainfrom
codex/resolve-frequency-radix-contracts
Jul 6, 2026
Merged

Resolve frequency and radix contracts for v0.9.1#87
Arcadia-1 merged 1 commit into
mainfrom
codex/resolve-frequency-radix-contracts

Conversation

@Arcadia-1

Copy link
Copy Markdown
Owner

Summary

  • add an explicit find_coherent_frequency(..., policy="matlab_findbin") mode that mirrors MATLAB findbin floor/start, upper-first, coprime-only selection while preserving the existing Python default behavior
  • align MATLAB plotwgt / legacy weightScaling radix output shape with Python: radix(1)=NaN, radix(i)=|weight(i-1)/weight(i)|
  • bump the package version and changelog to 0.9.1

Closes #77
Closes #78

Verification

  • uv run --project python --with pytest pytest python/tests/unit/fundamentals/test_find_coherent_frequency.py python/tests/unit/dout/test_analyze_weight_radix.py -q
  • uv run --project python --with pytest pytest python/tests/unit/fundamentals python/tests/unit/dout -q
  • uv run --project python --with pytest pytest python/tests/unit -q
  • uv build --project python
  • uv run python matlab/tests/run_matlab_tests.py dout --missing-ok (MATLAB unavailable locally; optional external test skipped as expected)

@Arcadia-1
Arcadia-1 merged commit 9dea2ee into main Jul 6, 2026
1 check passed
@Arcadia-1
Arcadia-1 deleted the codex/resolve-frequency-radix-contracts branch July 6, 2026 12:37
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.

Clarify radix output shape between plotwgt and analyze_weight_radix Clarify coherent-bin selection policy between findbin and find_coherent_frequency

1 participant