Download Latest Version v0.2.0 -- Multi-Language Ports source code.zip (101.9 kB)
Email in envelope

Get an email when there's a new version of LombokECC

Home / v0.0.4
Name Modified Size InfoDownloads / Week
Parent folder
LICENSE 2026-08-29 10.8 kB
CHANGELOG.md 2026-08-29 1.3 kB
README.md 2026-08-29 4.6 kB
LombokECC-0.0.4-Peterson-GZ Replaces BMA.zip 2026-08-29 20.7 kB
LombokECC-0.0.4.-Peterson-GZ Replaces BMA.tar.gz 2026-08-29 16.2 kB
Totals: 5 Items   53.4 kB 0

LombokECC — Reed-Solomon Error Correction Codes

A TypeScript implementation of Reed-Solomon error-correction codes over GF(256).

Version: v0.0.4 · Status: Peterson-GZ replaces BMA, decoder nearly working


GitHub

Stars Release License

Quality

TypeScript Zero deps

Lombok Ecosystem

LombokClarion LombokCSS LombokCharts LombokQRCode LombokTableSheet LombokAnimate LombokECC


Changes from v0.0.3

  • BREAKING: Berlekamp-Massey replaced by Peterson-Gorenstein-Zierler (Gaussian elimination over GF(256))
  • BREAKING: Forney formula replaced by direct error-value solver
  • Major rewrite of reed-solomon.ts (296 diff lines vs v0.0.3)
  • Error-value computation verified correct
  • Chien search finds correct error positions

What works

  • GF(256) field arithmetic
  • Systematic RS encoding [parity(16) || message(239)]
  • Peterson-GZ error-locator polynomial computation
  • Chien search error position finding
  • Direct error-value solver

Known issue

  • Message extraction after correction has offset bug — decoder computes correct error values but returns wrong portion of corrected codeword

Build & Test

npm install
npm run build         # tsc → dist/
npm run test:full     # encoder + GF polynomial tests (PASS)
npm run test:decode   # decoder test (EXPECTED FAIL — decoder belum works)

Note: npm run test:full hanya menjalankan test yang PASS di versi ini. test:decode tersedia terpisah untuk debugging — akan FAIL karena decoder belum selesai.

Publishing

git tag -a v0.0.4 -m "LombokECC 0.0.4" && git push origin main --tags

License

Apache-2.0 — LICENSE

Repository: github.com/codinglombok/LombokECC

Source: README.md, updated 2026-08-29