Repository navigation
[AMICA] Write min_dll and min_grad_norm as real numbers - #637
Conversation
The parameter writer sent both stop thresholds through the integer formatter, so the amica15 binary read 0 instead of 1e-9 and 1e-7. Co-authored-by: Suraj Ranganath <[email protected]>
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
The written min_dll and min_grad_norm fields must parse as 1e-9 and 1e-7. Co-authored-by: Suraj Ranganath <[email protected]>
|
Claude finished @suraj-ranganath's task in 37s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gapsNone. The first test fails on EEGLAB parity notes
I checked correctness, EEGLAB parity, the changed-behavior tests and AGENTS.md compliance. I did not run the tests. |
|
The two nits do not need a change before merge. The first test is the regression #619 asked for: it reads the written fields back and checks they are 1e-9 and 1e-7. The second test adds a 15-character width check on those same strings. Issue #619 left the Fortran field width unverified, and the current
|
MATLAB fprintf with %d falls back to %e when the value is not an integer, so runamica15.m writes min_dll and min_grad_norm as 1.000000e-09 and 1.000000e-07. eegprep formatted those defaults as integers and wrote 0. Scientific notation restores that output, and a regression test reads the written fields back as 1e-9 and 1e-7.
Fixes #619
Supersedes #620