Skip to content

docs: SYM_INT32 compute-vs-storage honesty + conventions → path-scoped docs#263

Merged
LeoBuron merged 1 commit into
developfrom
sym-honesty-conventions-docs
Jul 1, 2026
Merged

docs: SYM_INT32 compute-vs-storage honesty + conventions → path-scoped docs#263
LeoBuron merged 1 commit into
developfrom
sym-honesty-conventions-docs

Conversation

@LeoBuron

@LeoBuron LeoBuron commented Jul 1, 2026

Copy link
Copy Markdown
Member

What

Two related, no-behavior-change cleanups from a #210 SYM-completeness review session.

Honesty fixes (comments/docstrings only)

Conventions reorganization

(Path-scoped .claude/rules/*.md were also added locally to auto-surface each subsystem's conventions when working in that subtree, but .claude/ is gitignored so they are not part of this PR.)

Why

Comments/docstrings had drifted out of sync with the code (the #227 int12 operand default; the #261 grad-storage direction) and were actively misleading. Splitting the monolithic conventions file makes it navigable and lets subsystem rules load on demand.

Testing

  • cmake --build --preset unit_test_debug — clean (238/238)
  • ctest --preset unit_test_debug — 63/63 pass
  • Source is comment/doc-only; no behavior changed.

Relates to #261.

🤖 Generated with Claude Code

…ed docs

Honesty fixes:
- Quantization.h: drop the stale "grad accumulators are value-sums, int16"
  comment -- weightGrad is a sum of products; grad storage-type is under #261.
- QuantizationApi.h: fix the quantizationInitSymInt32WithBits docstring -- the
  plain initializer uses the int12 operand default (not "hardcodes 16"), and
  drop the "32 bits for full int32 range" over-promise (not cast-safe, #202).
- CONVENTIONS.md: correct the value-sums claim for grad accumulators.

Conventions reorg:
- Split docs/CONVENTIONS.md into per-subsystem docs/conventions/*.md (verbatim
  moves); CONVENTIONS.md becomes a thin index + the memory-over-accuracy vision.
- Add the "SYM_INT32 is a compute format, not storage (#261)" convention.

No behavior change. Build clean; 63/63 unit tests pass.

Relates to #261.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@LeoBuron LeoBuron merged commit a3bf34c into develop Jul 1, 2026
8 checks passed
@LeoBuron LeoBuron deleted the sym-honesty-conventions-docs branch July 1, 2026 18:52
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.

1 participant