aqua-trial: isolate the noise-slider kill; LF-normalised DSP hash #44

Merged
aqua merged 1 commit from aqua/trial-noise-knob-crlf into main 2026-11-12 10:48:37 +00:00
Member

(b) New test kills 'noise slider exists but does nothing' with identity at noise 100 intact; the test runner now continues past failures so mutants show every killing test. (c) One dspHash in logic.js (CRLF->LF, then sha-256) used by the page export and analyze.mjs; LF text hashes unchanged so old exports stay valid. Tests: CRLF==LF, LF==plain sha-256, analyze CLI no warning on CRLF checkout. The page's use of dspHash is not covered by node tests (browser verify not done).

24 tests (21 baseline + 3).

🤖 Generated with Claude Code

(b) New test kills 'noise slider exists but does nothing' with identity at noise 100 intact; the test runner now continues past failures so mutants show every killing test. (c) One `dspHash` in logic.js (CRLF->LF, then sha-256) used by the page export and analyze.mjs; LF text hashes unchanged so old exports stay valid. Tests: CRLF==LF, LF==plain sha-256, analyze CLI no warning on CRLF checkout. The page's use of dspHash is not covered by node tests (browser verify not done). 24 tests (21 baseline + 3). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- test.mjs: a failing test no longer aborts the run, so a mutation shows every test that kills it.
- New test: the noise slider is live (noise 20 vs 100 differ, rasp-band ratio 0.2 at rpm 4800) while noise 100 stays identical to thruster.dsp.
- logic.js dspHash (CRLF folded to LF, then sha-256) is the one normalisation; the page export and analyze.mjs both use it. LF text hashes as before, so old exports stay valid.
- Tests: CRLF == LF hash, LF == plain sha-256, analyze CLI raises no foreign-DSP warning for a CRLF checkout.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
aqua merged commit 1394b49ad1 into main 2026-11-12 10:48:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
GameCult/AquaSynth!44
No description provided.