Skip to content

test(core): quality audit — 18 new tests, fix stale docs, harden .gitignore#8

Merged
AbdelStark merged 1 commit intomainfrom
claude/quality-audit-hardening-2XHlk
Mar 16, 2026
Merged

test(core): quality audit — 18 new tests, fix stale docs, harden .gitignore#8
AbdelStark merged 1 commit intomainfrom
claude/quality-audit-hardening-2XHlk

Conversation

@AbdelStark
Copy link
Copy Markdown
Owner

Add 18 new tests covering previously untested paths:

  • Config validation edge cases (9 should_panic tests for all validate() branches)
  • Block boundary matrix tests across 3 configurations (block/full AttnRes)
  • Block accumulation count verification through full forward pass
  • Numerical stability: large magnitude, near-zero, and zero inputs
  • RMSNorm zero-input safety (eps prevents NaN)
  • Two-phase stress tests: deep model (24 sublayers) and Full AttnRes mode
  • Property tests: identical-source identity, output finiteness

Fix stale documentation:

  • README: update from v0.1.0/57 tests to v0.2.0/84 tests, remove false
    "no serialization" claim, add actual current limitations
  • AGENTS.md: fix incorrect "SwiGLU-style MLP" → "GELU activation"
  • ROADMAP.md: update current phase from v0.1.0 to v0.2.0

Harden .gitignore with IDE files, OS files, model checkpoint artifacts.

84 tests passing. Clippy clean. Fmt clean.

https://claude.ai/code/session_017JX3N9cDig1WYJG5P1rdVy

…ignore

Add 18 new tests covering previously untested paths:
- Config validation edge cases (9 should_panic tests for all validate() branches)
- Block boundary matrix tests across 3 configurations (block/full AttnRes)
- Block accumulation count verification through full forward pass
- Numerical stability: large magnitude, near-zero, and zero inputs
- RMSNorm zero-input safety (eps prevents NaN)
- Two-phase stress tests: deep model (24 sublayers) and Full AttnRes mode
- Property tests: identical-source identity, output finiteness

Fix stale documentation:
- README: update from v0.1.0/57 tests to v0.2.0/84 tests, remove false
  "no serialization" claim, add actual current limitations
- AGENTS.md: fix incorrect "SwiGLU-style MLP" → "GELU activation"
- ROADMAP.md: update current phase from v0.1.0 to v0.2.0

Harden .gitignore with IDE files, OS files, model checkpoint artifacts.

84 tests passing. Clippy clean. Fmt clean.

https://claude.ai/code/session_017JX3N9cDig1WYJG5P1rdVy
@AbdelStark AbdelStark merged commit 505cc62 into main Mar 16, 2026
4 checks passed
@AbdelStark AbdelStark deleted the claude/quality-audit-hardening-2XHlk branch March 17, 2026 09:11
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.

2 participants